clang-tools 20.0.0git
|
#include <CompileCommands.h>
Public Member Functions | |
void | operator() (tooling::CompileCommand &Cmd, llvm::StringRef TargetFile) const |
Static Public Member Functions | |
static CommandMangler | forTests () |
static CommandMangler | detect () |
Public Attributes | |
std::optional< std::string > | ClangPath |
std::optional< std::string > | ResourceDir |
std::optional< std::string > | Sysroot |
SystemIncludeExtractorFn | SystemIncludeExtractor |
Definition at line 30 of file CompileCommands.h.
|
static |
Definition at line 189 of file CompileCommands.cpp.
Referenced by main().
|
static |
Definition at line 197 of file CompileCommands.cpp.
Referenced by clang::clangd::TestTU::inputs(), and clang::clangd::TEST_F().
void clang::clangd::CommandMangler::operator() | ( | tooling::CompileCommand & | Cmd, |
llvm::StringRef | TargetFile | ||
) | const |
Definition at line 199 of file CompileCommands.cpp.
References ClangPath, clang::clangd::Config::current(), clang::clangd::Config::Edits, clang::clangd::File, ResourceDir, Sysroot, and SystemIncludeExtractor.
std::optional<std::string> clang::clangd::CommandMangler::ClangPath |
Definition at line 32 of file CompileCommands.h.
Referenced by operator()().
std::optional<std::string> clang::clangd::CommandMangler::ResourceDir |
Definition at line 34 of file CompileCommands.h.
Referenced by operator()().
std::optional<std::string> clang::clangd::CommandMangler::Sysroot |
Definition at line 36 of file CompileCommands.h.
Referenced by operator()().
SystemIncludeExtractorFn clang::clangd::CommandMangler::SystemIncludeExtractor |
Definition at line 37 of file CompileCommands.h.
Referenced by operator()().