clang-tools
10.0.0
|
#include <TestFS.h>
Public Member Functions | |
IntrusiveRefCntPtr< llvm::vfs::FileSystem > | getFileSystem () const override |
Called by ClangdServer to obtain a vfs::FileSystem to be used for parsing. More... | |
![]() | |
virtual | ~FileSystemProvider ()=default |
Public Attributes | |
llvm::StringMap< std::string > | Files |
|
inlineoverridevirtual |
Called by ClangdServer to obtain a vfs::FileSystem to be used for parsing.
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.
Implements clang::clangd::FileSystemProvider.
Definition at line 33 of file TestFS.h.
References clang::clangd::buildTestFS().
llvm::StringMap<std::string> clang::clangd::MockFSProvider::Files |
Definition at line 38 of file TestFS.h.
Referenced by clang::clangd::TEST_F().