From 6bab9113b0e903cfd4ab6035220c00fc79a8e6c7 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Fri, 31 Aug 2012 10:35:30 +0000 Subject: Remove the useless CommentOptions class. llvm-svn: 162986 --- clang/unittests/AST/CommentParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/unittests/AST/CommentParser.cpp') diff --git a/clang/unittests/AST/CommentParser.cpp b/clang/unittests/AST/CommentParser.cpp index 7258a7ef576..f04cf197b68 100644 --- a/clang/unittests/AST/CommentParser.cpp +++ b/clang/unittests/AST/CommentParser.cpp @@ -56,7 +56,7 @@ FullComment *CommentParserTest::parseString(const char *Source) { SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); comments::CommandTraits Traits; - comments::Lexer L(Allocator, Traits, Begin, CommentOptions(), + comments::Lexer L(Allocator, Traits, Begin, Source, Source + strlen(Source)); comments::Sema S(Allocator, SourceMgr, Diags, Traits); -- cgit v1.2.3