aboutsummaryrefslogtreecommitdiff
path: root/unittests/Basic
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-10-23 22:31:51 +0000
committerDouglas Gregor <dgregor@apple.com>2012-10-23 22:31:51 +0000
commit8e023611637905629b928915cbda22a90b2432c3 (patch)
tree85d2d03d91ba9b8254eca8c52ec6cc261e332b9d /unittests/Basic
parent02c23ebf41ae2f70da0ba7337e05c51fbfe35f7f (diff)
Fixup unit tests for DiagnosticOptions change
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Basic')
-rw-r--r--unittests/Basic/SourceManagerTest.cpp2
1 files changed, 1 insertions, 1 deletions
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";