summaryrefslogtreecommitdiff
path: root/clang/tools/clang-installapi/ClangInstallAPI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/clang-installapi/ClangInstallAPI.cpp')
-rw-r--r--clang/tools/clang-installapi/ClangInstallAPI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/clang-installapi/ClangInstallAPI.cpp b/clang/tools/clang-installapi/ClangInstallAPI.cpp
index ce6240b1b56f..308e5285e325 100644
--- a/clang/tools/clang-installapi/ClangInstallAPI.cpp
+++ b/clang/tools/clang-installapi/ClangInstallAPI.cpp
@@ -113,7 +113,7 @@ static bool run(ArrayRef<const char *> Args, const char *ProgName) {
// Set up compilation.
std::unique_ptr<CompilerInstance> CI(new CompilerInstance());
CI->setFileManager(FM.get());
- CI->createDiagnostics(FM->getVirtualFileSystem());
+ CI->createDiagnostics();
if (!CI->hasDiagnostics())
return EXIT_FAILURE;