Fix compilation failure on Windows.
authorZachary Turner <zturner@google.com>
Mon, 3 Dec 2018 19:59:00 +0000 (19:59 +0000)
committerZachary Turner <zturner@google.com>
Mon, 3 Dec 2018 19:59:00 +0000 (19:59 +0000)
This was introduced earlier but apparently used an incorrect
class name so it doesn't compile on Windows.

llvm-svn: 348176

clang-tools-extra/clangd/FSProvider.cpp

index d94be5b..ccb64c5 100644 (file)
@@ -76,7 +76,7 @@ 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 VolatileFSProvider(vfs::getRealFileSystem());
+  return new VolatileFileSystem(vfs::getRealFileSystem());
 #else
   return vfs::getRealFileSystem();
 #endif