From: Douglas Gregor Date: Tue, 23 Oct 2012 22:43:37 +0000 (+0000) Subject: One last unit-test fix X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f7d548a1637d778d501528ef7555aef901016c3;p=platform%2Fupstream%2Fllvm.git One last unit-test fix llvm-svn: 166513 --- diff --git a/clang/unittests/Lex/PreprocessingRecordTest.cpp b/clang/unittests/Lex/PreprocessingRecordTest.cpp index e9898ca..cd85487 100644 --- a/clang/unittests/Lex/PreprocessingRecordTest.cpp +++ b/clang/unittests/Lex/PreprocessingRecordTest.cpp @@ -10,6 +10,7 @@ #include "clang/Basic/SourceManager.h" #include "clang/Basic/FileManager.h" #include "clang/Basic/Diagnostic.h" +#include "clang/Basic/DiagnosticOptions.h" #include "clang/Basic/LangOptions.h" #include "clang/Basic/TargetOptions.h" #include "clang/Basic/TargetInfo.h" @@ -32,7 +33,7 @@ protected: PreprocessingRecordTest() : FileMgr(FileMgrOpts), DiagID(new DiagnosticIDs()), - Diags(DiagID, new IgnoringDiagConsumer()), + Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()), SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions) {