One last unit-test fix

llvm-svn: 166513
This commit is contained in:
Douglas Gregor 2012-10-23 22:43:37 +00:00
parent d64dd12fcf
commit 3f7d548a16
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{