clang-tools 20.0.0git
|
#include <TestWorkspace.h>
Public Member Functions | |
void | addSource (llvm::StringRef Filename, llvm::StringRef Code) |
void | addMainFile (llvm::StringRef Filename, llvm::StringRef Code) |
std::unique_ptr< SymbolIndex > | index () |
std::optional< ParsedAST > | openFile (llvm::StringRef Filename) |
Definition at line 29 of file TestWorkspace.h.
|
inline |
Definition at line 36 of file TestWorkspace.h.
References Filename.
|
inline |
Definition at line 33 of file TestWorkspace.h.
References Filename.
std::unique_ptr< SymbolIndex > clang::clangd::TestWorkspace::index | ( | ) |
Definition at line 19 of file TestWorkspace.cpp.
References clang::clangd::TestTU::build(), clang::clangd::TestTU::Code, clang::clangd::TestTU::Filename, clang::clangd::TestTU::preamble(), and clang::clangd::testPath().
std::optional< ParsedAST > clang::clangd::TestWorkspace::openFile | ( | llvm::StringRef | Filename | ) |
Definition at line 38 of file TestWorkspace.cpp.
References clang::clangd::TestTU::build(), clang::clangd::TestTU::Code, Filename, and clang::clangd::TestTU::Filename.