summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Lex
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
commitd8cfd399fa71d3e66f76780ba1bdd61d17231532 (patch)
tree8a7c4924988f84dd81d42c373ce5d007fd95aaa5 /clang/unittests/Lex
parent811db4eac4e036de3705570a46e28bf7d993dbab (diff)
downloadbcm5719-llvm-d8cfd399fa71d3e66f76780ba1bdd61d17231532.tar.gz
bcm5719-llvm-d8cfd399fa71d3e66f76780ba1bdd61d17231532.zip
Fixup unit tests for DiagnosticOptions change
llvm-svn: 166509
Diffstat (limited to 'clang/unittests/Lex')
-rw-r--r--clang/unittests/Lex/LexerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Lex/LexerTest.cpp b/clang/unittests/Lex/LexerTest.cpp
index 069b3ccff98..593fdb572a5 100644
--- a/clang/unittests/Lex/LexerTest.cpp
+++ b/clang/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)
{
OpenPOWER on IntegriCloud