summaryrefslogtreecommitdiff
path: root/lib/AST/RawCommentList.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-06-20 20:39:04 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-06-20 20:39:04 +0000
commit59c30cd804c162dcc1c156bd3bab5c8f1dfd4749 (patch)
tree2ace294c795cea455a8c4ed8c066e8c100d68ec8 /lib/AST/RawCommentList.cpp
parent4b554f4756cefdce6e0109e96d2f13d594b30b8c (diff)
downloadclang-59c30cd804c162dcc1c156bd3bab5c8f1dfd4749.tar.gz
Remove unused ASTContext& arg in RawCommentList::addComment, as pointed out by Chandler in commit message for r158807.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/RawCommentList.cpp')
-rw-r--r--lib/AST/RawCommentList.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AST/RawCommentList.cpp b/lib/AST/RawCommentList.cpp
index 07776779e8..06510294e7 100644
--- a/lib/AST/RawCommentList.cpp
+++ b/lib/AST/RawCommentList.cpp
@@ -8,7 +8,6 @@
//===----------------------------------------------------------------------===//
#include "clang/AST/RawCommentList.h"
-#include "clang/AST/ASTContext.h"
#include "llvm/ADT/STLExtras.h"
using namespace clang;
@@ -155,7 +154,7 @@ bool onlyWhitespaceBetweenComments(SourceManager &SM,
}
} // unnamed namespace
-void RawCommentList::addComment(const RawComment &RC, ASTContext &Context) {
+void RawCommentList::addComment(const RawComment &RC) {
if (RC.isInvalid())
return;