clang-tools 20.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 |
std::shared_ptr< TargetOptions > | TargetOpts = nullptr |
PrecompiledPreamble | Preamble |
std::vector< Diag > | Diags |
IncludeStructure | Includes |
std::shared_ptr< const include_cleaner::PragmaIncludes > | Pragmas |
std::unique_ptr< PrerequisiteModules > | RequiredModules |
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 97 of file Preamble.h.
|
inline |
Definition at line 98 of file Preamble.h.
tooling::CompileCommand clang::clangd::PreambleData::CompileCommand |
Definition at line 102 of file Preamble.h.
std::vector<Diag> clang::clangd::PreambleData::Diags |
Definition at line 108 of file Preamble.h.
IncludeStructure clang::clangd::PreambleData::Includes |
Definition at line 111 of file Preamble.h.
MainFileMacros clang::clangd::PreambleData::Macros |
Definition at line 119 of file Preamble.h.
bool clang::clangd::PreambleData::MainIsIncludeGuarded = false |
Definition at line 127 of file Preamble.h.
std::vector<PragmaMark> clang::clangd::PreambleData::Marks |
Definition at line 121 of file Preamble.h.
std::shared_ptr<const include_cleaner::PragmaIncludes> clang::clangd::PreambleData::Pragmas |
Definition at line 113 of file Preamble.h.
PrecompiledPreamble clang::clangd::PreambleData::Preamble |
Definition at line 107 of file Preamble.h.
Referenced by clang::clangd::ClangdServer::signatureHelp().
std::unique_ptr<PrerequisiteModules> clang::clangd::PreambleData::RequiredModules |
Definition at line 115 of file Preamble.h.
std::shared_ptr<PreambleFileStatusCache> clang::clangd::PreambleData::StatCache |
Definition at line 124 of file Preamble.h.
std::shared_ptr<TargetOptions> clang::clangd::PreambleData::TargetOpts = nullptr |
Definition at line 106 of file Preamble.h.
std::string clang::clangd::PreambleData::Version |
Definition at line 101 of file Preamble.h.