diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-10-23 22:31:51 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-10-23 22:31:51 +0000 |
commit | d8cfd399fa71d3e66f76780ba1bdd61d17231532 (patch) | |
tree | 8a7c4924988f84dd81d42c373ce5d007fd95aaa5 /clang/unittests/AST | |
parent | 811db4eac4e036de3705570a46e28bf7d993dbab (diff) | |
download | bcm5719-llvm-d8cfd399fa71d3e66f76780ba1bdd61d17231532.tar.gz bcm5719-llvm-d8cfd399fa71d3e66f76780ba1bdd61d17231532.zip |
Fixup unit tests for DiagnosticOptions change
llvm-svn: 166509
Diffstat (limited to 'clang/unittests/AST')
-rw-r--r-- | clang/unittests/AST/CommentLexer.cpp | 2 | ||||
-rw-r--r-- | clang/unittests/AST/CommentParser.cpp | 2 |
2 files changed, 2 insertions, 2 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) { } diff --git a/clang/unittests/AST/CommentParser.cpp b/clang/unittests/AST/CommentParser.cpp index e4226e7d3d0..8cfb24438f1 100644 --- a/clang/unittests/AST/CommentParser.cpp +++ b/clang/unittests/AST/CommentParser.cpp @@ -36,7 +36,7 @@ protected: CommentParserTest() : FileMgr(FileMgrOpts), DiagID(new DiagnosticIDs()), - Diags(DiagID, new IgnoringDiagConsumer()), + Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()), SourceMgr(Diags, FileMgr), Traits(Allocator) { } |