aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/RawCommentList.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-08-31 10:35:30 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-08-31 10:35:30 +0000
commitaf503a6f218cbef8704609812668360b0cbd0b60 (patch)
tree60b26759b4d4d485af9195303d293c695fe081d6 /lib/AST/RawCommentList.cpp
parentda5922f4864b5da254c6676af8833c42adaa6d86 (diff)
Remove the useless CommentOptions class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/RawCommentList.cpp')
-rw-r--r--lib/AST/RawCommentList.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/AST/RawCommentList.cpp b/lib/AST/RawCommentList.cpp
index d75d49aff0..1003140849 100644
--- a/lib/AST/RawCommentList.cpp
+++ b/lib/AST/RawCommentList.cpp
@@ -144,8 +144,7 @@ const char *RawComment::extractBriefText(const ASTContext &Context) const {
llvm::BumpPtrAllocator Allocator;
comments::CommandTraits Traits;
- comments::Lexer L(Allocator, Traits,
- Range.getBegin(), comments::CommentOptions(),
+ comments::Lexer L(Allocator, Traits, Range.getBegin(),
RawText.begin(), RawText.end());
comments::BriefParser P(L, Traits);
@@ -166,7 +165,7 @@ comments::FullComment *RawComment::parse(const ASTContext &Context,
comments::CommandTraits Traits;
comments::Lexer L(Context.getAllocator(), Traits,
- getSourceRange().getBegin(), comments::CommentOptions(),
+ getSourceRange().getBegin(),
RawText.begin(), RawText.end());
comments::Sema S(Context.getAllocator(), Context.getSourceManager(),
Context.getDiagnostics(), Traits);