summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/Compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clangd/Compiler.cpp')
-rw-r--r--clang-tools-extra/clangd/Compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/Compiler.cpp b/clang-tools-extra/clangd/Compiler.cpp
index 1eecce98e97..e31e0309b83 100644
--- a/clang-tools-extra/clangd/Compiler.cpp
+++ b/clang-tools-extra/clangd/Compiler.cpp
@@ -95,7 +95,7 @@ prepareCompilerInstance(std::unique_ptr<clang::CompilerInvocation> CI,
if (auto VFSWithRemapping = createVFSFromCompilerInvocation(
Clang->getInvocation(), Clang->getDiagnostics(), VFS))
VFS = VFSWithRemapping;
- Clang->setVirtualFileSystem(VFS);
+ Clang->createFileManager(VFS);
Clang->setTarget(TargetInfo::CreateTargetInfo(
Clang->getDiagnostics(), Clang->getInvocation().TargetOpts));
OpenPOWER on IntegriCloud