forked from OSchip/llvm-project
Fixup unit tests for DiagnosticOptions change
llvm-svn: 166509
This commit is contained in:
parent
811db4eac4
commit
d8cfd399fa
|
@ -29,7 +29,7 @@ protected:
|
|||
CommentLexerTest()
|
||||
: FileMgr(FileMgrOpts),
|
||||
DiagID(new DiagnosticIDs()),
|
||||
Diags(DiagID, new IgnoringDiagConsumer()),
|
||||
Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
|
||||
SourceMgr(Diags, FileMgr),
|
||||
Traits(Allocator) {
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ protected:
|
|||
CommentParserTest()
|
||||
: FileMgr(FileMgrOpts),
|
||||
DiagID(new DiagnosticIDs()),
|
||||
Diags(DiagID, new IgnoringDiagConsumer()),
|
||||
Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
|
||||
SourceMgr(Diags, FileMgr),
|
||||
Traits(Allocator) {
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue