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/Basic/SourceManagerTest.cpp | |
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/Basic/SourceManagerTest.cpp')
-rw-r--r-- | clang/unittests/Basic/SourceManagerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Basic/SourceManagerTest.cpp b/clang/unittests/Basic/SourceManagerTest.cpp index a04539b1bad..63c64835a0e 100644 --- a/clang/unittests/Basic/SourceManagerTest.cpp +++ b/clang/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"; |