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 | ad6fd9f93ce0d328397e8d57ef7117ced24fc8e2 (patch) | |
tree | ff65aa9339d215a60b3a59212e7795cc6fcec093 /unittests/AST/CommentLexer.cpp | |
parent | cc2b653c319599f502425d2c3de29865d47bb9e4 (diff) |
[Doc parsing] Provide diagnostics for unknown documentation
commands. // rdar://12381408
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/AST/CommentLexer.cpp')
-rw-r--r-- | unittests/AST/CommentLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/AST/CommentLexer.cpp b/unittests/AST/CommentLexer.cpp index 507daf8391..fc0fd77275 100644 --- a/unittests/AST/CommentLexer.cpp +++ b/unittests/AST/CommentLexer.cpp @@ -64,7 +64,7 @@ void CommentLexerTest::lexString(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)); while (1) { Token Tok; |