diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-31 10:35:30 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-31 10:35:30 +0000 |
commit | 6bab9113b0e903cfd4ab6035220c00fc79a8e6c7 (patch) | |
tree | 61e696549fbe49b3a2ba7105f13c75c1517a0cdb /clang/lib/AST/RawCommentList.cpp | |
parent | d458ebb4863c3d712d8ef2dbcb92475504ee3011 (diff) |
Remove the useless CommentOptions class.
llvm-svn: 162986
Diffstat (limited to 'clang/lib/AST/RawCommentList.cpp')
-rw-r--r-- | clang/lib/AST/RawCommentList.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/AST/RawCommentList.cpp b/clang/lib/AST/RawCommentList.cpp index d75d49aff0f4..1003140849b4 100644 --- a/clang/lib/AST/RawCommentList.cpp +++ b/clang/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); |