[clang-tools-extra] r348176 - Fix compilation failure on Windows.

Zachary Turner via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 3 11:59:01 PST 2018


Author: zturner
Date: Mon Dec  3 11:59:00 2018
New Revision: 348176

URL: http://llvm.org/viewvc/llvm-project?rev=348176&view=rev
Log:
Fix compilation failure on Windows.

This was introduced earlier but apparently used an incorrect
class name so it doesn't compile on Windows.

Modified:
    clang-tools-extra/trunk/clangd/FSProvider.cpp

Modified: clang-tools-extra/trunk/clangd/FSProvider.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/FSProvider.cpp?rev=348176&r1=348175&r2=348176&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/FSProvider.cpp (original)
+++ clang-tools-extra/trunk/clangd/FSProvider.cpp Mon Dec  3 11:59:00 2018
@@ -76,7 +76,7 @@ clang::clangd::RealFileSystemProvider::g
 // 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




More information about the cfe-commits mailing list