diff options
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
-rw-r--r-- | clang/unittests/Frontend/CompilerInvocationTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/unittests/Frontend/CompilerInvocationTest.cpp b/clang/unittests/Frontend/CompilerInvocationTest.cpp index 75390aa..94ab9fe 100644 --- a/clang/unittests/Frontend/CompilerInvocationTest.cpp +++ b/clang/unittests/Frontend/CompilerInvocationTest.cpp @@ -29,7 +29,6 @@ using ::testing::StartsWith; namespace { class CommandLineTest : public ::testing::Test { public: - DiagnosticOptions DiagOpts; IntrusiveRefCntPtr<DiagnosticsEngine> Diags; SmallVector<const char *, 32> GeneratedArgs; BumpPtrAllocator Alloc; @@ -42,7 +41,7 @@ public: CommandLineTest() : Diags(CompilerInstance::createDiagnostics( - *llvm::vfs::getRealFileSystem(), DiagOpts, + *llvm::vfs::getRealFileSystem(), new DiagnosticOptions(), new TextDiagnosticBuffer())), StringPool(Alloc) {} }; |