================
@@ -124,7 +124,7 @@ clang::createChainedIncludesSource(CompilerInstance &CI,
auto Clang = std::make_unique<CompilerInstance>(
std::move(CInvok), CI.getPCHContainerOperations());
- Clang->createVirtualFileSystem();
+ Clang->setVirtualFileSystem(CI.getVirtualFileSystemPtr());
----------------
benlangmuir wrote:
This deserves a comment that it is valid because none of the changes to the
invocation above impact the VFS (e.g. no -ivfsoverlay changes).
https://github.com/llvm/llvm-project/pull/173288
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits