diff options
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 47433aee2be..ff931955595 100644 --- a/clang/unittests/AST/CommentParser.cpp +++ b/clang/unittests/AST/CommentParser.cpp @@ -54,7 +54,7 @@ FullComment *CommentParserTest::parseString(const char *Source) { FileID File = SourceMgr.createFileIDForMemBuffer(Buf); SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); - comments::Lexer L(Begin, CommentOptions(), + comments::Lexer L(Allocator, Begin, CommentOptions(), Source, Source + strlen(Source)); comments::Sema S(Allocator, SourceMgr, Diags); |