From 59c30cd804c162dcc1c156bd3bab5c8f1dfd4749 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Wed, 20 Jun 2012 20:39:04 +0000 Subject: 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 --- lib/AST/RawCommentList.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/AST/RawCommentList.cpp') 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; -- cgit v1.2.1