summaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/PCHPreambleTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Frontend/PCHPreambleTest.cpp')
-rw-r--r--clang/unittests/Frontend/PCHPreambleTest.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/unittests/Frontend/PCHPreambleTest.cpp b/clang/unittests/Frontend/PCHPreambleTest.cpp
index 58ec2e2ce705..2ce24c91ac0f 100644
--- a/clang/unittests/Frontend/PCHPreambleTest.cpp
+++ b/clang/unittests/Frontend/PCHPreambleTest.cpp
@@ -94,9 +94,8 @@ public:
PreprocessorOptions &PPOpts = CI->getPreprocessorOpts();
PPOpts.RemappedFilesKeepOriginalName = true;
- IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
- CompilerInstance::createDiagnostics(*VFS, new DiagnosticOptions,
- new DiagnosticConsumer));
+ IntrusiveRefCntPtr<DiagnosticsEngine>
+ Diags(CompilerInstance::createDiagnostics(new DiagnosticOptions, new DiagnosticConsumer));
FileManager *FileMgr = new FileManager(FSOpts, VFS);