summaryrefslogtreecommitdiffstats
path: root/clang/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
commit93b9ecba9bb24d2c9087e8044f76097b3b882011 (patch)
treeae7c738daa276b7de00f7621e5cab3d644bd3a3e /clang/lib/AST/RawCommentList.cpp
parent4cb2e2dc630d4627e6c85eec2e8d00540fb37e39 (diff)
downloadbcm5719-llvm-93b9ecba9bb24d2c9087e8044f76097b3b882011.tar.gz
bcm5719-llvm-93b9ecba9bb24d2c9087e8044f76097b3b882011.zip
Remove unused ASTContext& arg in RawCommentList::addComment, as pointed out by Chandler in commit message for r158807.
llvm-svn: 158845
Diffstat (limited to 'clang/lib/AST/RawCommentList.cpp')
-rw-r--r--clang/lib/AST/RawCommentList.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/AST/RawCommentList.cpp b/clang/lib/AST/RawCommentList.cpp
index 07776779e87..06510294e77 100644
--- a/clang/lib/AST/RawCommentList.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud