diff options
Diffstat (limited to 'clang-tools-extra/clangd/FSProvider.h')
-rw-r--r-- | clang-tools-extra/clangd/FSProvider.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang-tools-extra/clangd/FSProvider.h b/clang-tools-extra/clangd/FSProvider.h index a11d3810100..0d1d5e954c8 100644 --- a/clang-tools-extra/clangd/FSProvider.h +++ b/clang-tools-extra/clangd/FSProvider.h @@ -10,8 +10,8 @@ #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_FSPROVIDER_H #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_FSPROVIDER_H -#include "clang/Basic/VirtualFileSystem.h" #include "llvm/ADT/IntrusiveRefCntPtr.h" +#include "llvm/Support/VirtualFileSystem.h" namespace clang { namespace clangd { @@ -25,14 +25,14 @@ public: /// Context::current() will be the context passed to the clang entrypoint, /// such as addDocument(), and will also be propagated to result callbacks. /// Embedders may use this to isolate filesystem accesses. - virtual IntrusiveRefCntPtr<vfs::FileSystem> getFileSystem() const = 0; + virtual IntrusiveRefCntPtr<llvm::vfs::FileSystem> getFileSystem() const = 0; }; class RealFileSystemProvider : public FileSystemProvider { public: // FIXME: returns the single real FS instance, which is not threadsafe. - IntrusiveRefCntPtr<vfs::FileSystem> getFileSystem() const override { - return vfs::getRealFileSystem(); + IntrusiveRefCntPtr<llvm::vfs::FileSystem> getFileSystem() const override { + return llvm::vfs::getRealFileSystem(); } }; |