clang-tools 18.0.0git
|
The parsed preamble and associated data. More...
#include <Preamble.h>
Public Member Functions | |
PreambleData (PrecompiledPreamble Preamble) | |
Public Attributes | |
std::string | Version |
tooling::CompileCommand | CompileCommand |
PrecompiledPreamble | Preamble |
std::vector< Diag > | Diags |
IncludeStructure | Includes |
std::shared_ptr< const include_cleaner::PragmaIncludes > | Pragmas |
MainFileMacros | Macros |
std::vector< PragmaMark > | Marks |
std::shared_ptr< PreambleFileStatusCache > | StatCache |
bool | MainIsIncludeGuarded = false |
The parsed preamble and associated data.
As we must avoid re-parsing the preamble, any information that can only be obtained during parsing must be eagerly captured and stored here.
Definition at line 94 of file Preamble.h.
|
inline |
Definition at line 95 of file Preamble.h.
tooling::CompileCommand clang::clangd::PreambleData::CompileCommand |
Definition at line 99 of file Preamble.h.
std::vector<Diag> clang::clangd::PreambleData::Diags |
Definition at line 101 of file Preamble.h.
IncludeStructure clang::clangd::PreambleData::Includes |
Definition at line 104 of file Preamble.h.
MainFileMacros clang::clangd::PreambleData::Macros |
Definition at line 110 of file Preamble.h.
bool clang::clangd::PreambleData::MainIsIncludeGuarded = false |
Definition at line 118 of file Preamble.h.
std::vector<PragmaMark> clang::clangd::PreambleData::Marks |
Definition at line 112 of file Preamble.h.
std::shared_ptr<const include_cleaner::PragmaIncludes> clang::clangd::PreambleData::Pragmas |
Definition at line 106 of file Preamble.h.
PrecompiledPreamble clang::clangd::PreambleData::Preamble |
Definition at line 100 of file Preamble.h.
Referenced by clang::clangd::ClangdServer::signatureHelp().
std::shared_ptr<PreambleFileStatusCache> clang::clangd::PreambleData::StatCache |
Definition at line 115 of file Preamble.h.
std::string clang::clangd::PreambleData::Version |
Definition at line 98 of file Preamble.h.