summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/CommentLexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/AST/CommentLexer.cpp')
-rw-r--r--clang/unittests/AST/CommentLexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/AST/CommentLexer.cpp b/clang/unittests/AST/CommentLexer.cpp
index cc4535a163c..f8746d91e60 100644
--- a/clang/unittests/AST/CommentLexer.cpp
+++ b/clang/unittests/AST/CommentLexer.cpp
@@ -29,7 +29,7 @@ protected:
CommentLexerTest()
: FileMgr(FileMgrOpts),
DiagID(new DiagnosticIDs()),
- Diags(DiagID, new IgnoringDiagConsumer()),
+ Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
SourceMgr(Diags, FileMgr),
Traits(Allocator) {
}
OpenPOWER on IntegriCloud