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 | 8e023611637905629b928915cbda22a90b2432c3 (patch) | |
tree | 85d2d03d91ba9b8254eca8c52ec6cc261e332b9d | |
parent | 02c23ebf41ae2f70da0ba7337e05c51fbfe35f7f (diff) |
Fixup unit tests for DiagnosticOptions change
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166509 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | unittests/AST/CommentLexer.cpp | 2 | ||||
-rw-r--r-- | unittests/AST/CommentParser.cpp | 2 | ||||
-rw-r--r-- | unittests/Basic/SourceManagerTest.cpp | 2 | ||||
-rw-r--r-- | unittests/Lex/LexerTest.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/unittests/AST/CommentLexer.cpp b/unittests/AST/CommentLexer.cpp index cc4535a163..f8746d91e6 100644 --- a/unittests/AST/CommentLexer.cpp +++ b/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/unittests/AST/CommentParser.cpp b/unittests/AST/CommentParser.cpp index e4226e7d3d..8cfb24438f 100644 --- a/unittests/AST/CommentParser.cpp +++ b/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) { } diff --git a/unittests/Basic/SourceManagerTest.cpp b/unittests/Basic/SourceManagerTest.cpp index a04539b1ba..63c64835a0 100644 --- a/unittests/Basic/SourceManagerTest.cpp +++ b/unittests/Basic/SourceManagerTest.cpp @@ -32,7 +32,7 @@ protected: SourceManagerTest() : FileMgr(FileMgrOpts), DiagID(new DiagnosticIDs()), - Diags(DiagID, new IgnoringDiagConsumer()), + Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()), SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions) { TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; diff --git a/unittests/Lex/LexerTest.cpp b/unittests/Lex/LexerTest.cpp index 069b3ccff9..593fdb572a 100644 --- a/unittests/Lex/LexerTest.cpp +++ b/unittests/Lex/LexerTest.cpp @@ -31,7 +31,7 @@ protected: LexerTest() : FileMgr(FileMgrOpts), DiagID(new DiagnosticIDs()), - Diags(DiagID, new IgnoringDiagConsumer()), + Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()), SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions) { |