diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-05-03 23:15:20 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-05-03 23:15:20 +0000 |
commit | 5b637078e1ab1946ef771210c97ca4b4bfacc4f5 (patch) | |
tree | 21697b72681e74b7f176fa30ef4e2ee611ba325d /clang/unittests/AST/CommentParser.cpp | |
parent | 30071cead9aa4f818a0f44134a8218d6f515d166 (diff) | |
download | llvm-5b637078e1ab1946ef771210c97ca4b4bfacc4f5.zip llvm-5b637078e1ab1946ef771210c97ca4b4bfacc4f5.tar.gz llvm-5b637078e1ab1946ef771210c97ca4b4bfacc4f5.tar.bz2 |
[Doc parsing] Provide diagnostics for unknown documentation
commands. // rdar://12381408
llvm-svn: 181071
Diffstat (limited to 'clang/unittests/AST/CommentParser.cpp')
-rw-r--r-- | clang/unittests/AST/CommentParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/AST/CommentParser.cpp b/clang/unittests/AST/CommentParser.cpp index 3dce60a..d05fb58 100644 --- a/clang/unittests/AST/CommentParser.cpp +++ b/clang/unittests/AST/CommentParser.cpp @@ -58,7 +58,7 @@ FullComment *CommentParserTest::parseString(const char *Source) { FileID File = SourceMgr.createFileIDForMemBuffer(Buf); SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); - Lexer L(Allocator, Traits, Begin, Source, Source + strlen(Source)); + Lexer L(Allocator, Diags, Traits, Begin, Source, Source + strlen(Source)); Sema S(Allocator, SourceMgr, Diags, Traits, /*PP=*/ NULL); Parser P(L, S, Allocator, SourceMgr, Diags, Traits); |