[cfe-commits] r166513 - /cfe/trunk/unittests/Lex/PreprocessingRecordTest.cpp
Douglas Gregor
dgregor at apple.com
Tue Oct 23 15:43:37 PDT 2012
Author: dgregor
Date: Tue Oct 23 17:43:37 2012
New Revision: 166513
URL: http://llvm.org/viewvc/llvm-project?rev=166513&view=rev
Log:
One last unit-test fix
Modified:
cfe/trunk/unittests/Lex/PreprocessingRecordTest.cpp
Modified: cfe/trunk/unittests/Lex/PreprocessingRecordTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Lex/PreprocessingRecordTest.cpp?rev=166513&r1=166512&r2=166513&view=diff
==============================================================================
--- cfe/trunk/unittests/Lex/PreprocessingRecordTest.cpp (original)
+++ cfe/trunk/unittests/Lex/PreprocessingRecordTest.cpp Tue Oct 23 17:43:37 2012
@@ -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 @@
PreprocessingRecordTest()
: FileMgr(FileMgrOpts),
DiagID(new DiagnosticIDs()),
- Diags(DiagID, new IgnoringDiagConsumer()),
+ Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
SourceMgr(Diags, FileMgr),
TargetOpts(new TargetOptions)
{
More information about the cfe-commits
mailing list