clang-tools 17.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 |
include_cleaner::PragmaIncludes | Pragmas |
MainFileMacros | Macros |
std::vector< PragmaMark > | Marks |
std::unique_ptr< PreambleFileStatusCache > | StatCache |
CanonicalIncludes | CanonIncludes |
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 55 of file Preamble.h.
|
inline |
Definition at line 56 of file Preamble.h.
CanonicalIncludes clang::clangd::PreambleData::CanonIncludes |
Definition at line 77 of file Preamble.h.
tooling::CompileCommand clang::clangd::PreambleData::CompileCommand |
Definition at line 60 of file Preamble.h.
std::vector<Diag> clang::clangd::PreambleData::Diags |
Definition at line 62 of file Preamble.h.
IncludeStructure clang::clangd::PreambleData::Includes |
Definition at line 65 of file Preamble.h.
MainFileMacros clang::clangd::PreambleData::Macros |
Definition at line 71 of file Preamble.h.
bool clang::clangd::PreambleData::MainIsIncludeGuarded = false |
Definition at line 80 of file Preamble.h.
std::vector<PragmaMark> clang::clangd::PreambleData::Marks |
Definition at line 73 of file Preamble.h.
include_cleaner::PragmaIncludes clang::clangd::PreambleData::Pragmas |
Definition at line 67 of file Preamble.h.
PrecompiledPreamble clang::clangd::PreambleData::Preamble |
Definition at line 61 of file Preamble.h.
Referenced by clang::clangd::ClangdServer::signatureHelp().
std::unique_ptr<PreambleFileStatusCache> clang::clangd::PreambleData::StatCache |
Definition at line 76 of file Preamble.h.
std::string clang::clangd::PreambleData::Version |
Definition at line 59 of file Preamble.h.