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

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 5 09:45:03 PST 2018


Just noticed this. Really sorry that I submitted the broken version (made
the rename at the last minute) and many thanks for fixing this!

On Mon, Dec 3, 2018 at 9:01 PM Zachary Turner via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> 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
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>


-- 
Regards,
Ilya Biryukov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181205/3261ac82/attachment.html>


More information about the cfe-commits mailing list