forked from OSchip/llvm-project
Revert r351051 "[clangd] Unlink VFS working dir from OS working dir."
The llvm commit r351050 broke some bots and was reverted. llvm-svn: 351100
This commit is contained in:
parent
4b0694b712
commit
cadf4b61f0
|
@ -75,10 +75,9 @@ clang::clangd::RealFileSystemProvider::getFileSystem() const {
|
|||
// FIXME: Try to use a similar approach in Sema instead of relying on
|
||||
// propagation of the 'isVolatile' flag through all layers.
|
||||
#ifdef _WIN32
|
||||
return new VolatileFileSystem(
|
||||
llvm::vfs::createPhysicalFileSystem().release());
|
||||
return new VolatileFileSystem(llvm::vfs::getRealFileSystem());
|
||||
#else
|
||||
return llvm::vfs::createPhysicalFileSystem().release();
|
||||
return llvm::vfs::getRealFileSystem();
|
||||
#endif
|
||||
}
|
||||
} // namespace clangd
|
||||
|
|
Loading…
Reference in New Issue