clang-tools
11.0.0
|
The parsed preamble and associated data. More...
#include <Preamble.h>
Public Member Functions | |
PreambleData (const ParseInputs &Inputs, PrecompiledPreamble Preamble, std::vector< Diag > Diags, IncludeStructure Includes, MainFileMacros Macros, std::unique_ptr< PreambleFileStatusCache > StatCache, CanonicalIncludes CanonIncludes) | |
Public Attributes | |
std::string | Version |
tooling::CompileCommand | CompileCommand |
PrecompiledPreamble | Preamble |
std::vector< Diag > | Diags |
IncludeStructure | Includes |
MainFileMacros | Macros |
std::unique_ptr< PreambleFileStatusCache > | StatCache |
CanonicalIncludes | CanonIncludes |
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 49 of file Preamble.h.
clang::clangd::PreambleData::PreambleData | ( | const ParseInputs & | Inputs, |
PrecompiledPreamble | Preamble, | ||
std::vector< Diag > | Diags, | ||
IncludeStructure | Includes, | ||
MainFileMacros | Macros, | ||
std::unique_ptr< PreambleFileStatusCache > | StatCache, | ||
CanonicalIncludes | CanonIncludes | ||
) |
Definition at line 308 of file Preamble.cpp.
CanonicalIncludes clang::clangd::PreambleData::CanonIncludes |
Definition at line 71 of file Preamble.h.
tooling::CompileCommand clang::clangd::PreambleData::CompileCommand |
Definition at line 58 of file Preamble.h.
Referenced by clang::clangd::isPreambleCompatible().
std::vector<Diag> clang::clangd::PreambleData::Diags |
Definition at line 60 of file Preamble.h.
IncludeStructure clang::clangd::PreambleData::Includes |
Definition at line 63 of file Preamble.h.
Referenced by clang::clangd::PreamblePatch::create().
MainFileMacros clang::clangd::PreambleData::Macros |
Definition at line 67 of file Preamble.h.
PrecompiledPreamble clang::clangd::PreambleData::Preamble |
Definition at line 59 of file Preamble.h.
Referenced by clang::clangd::PreamblePatch::create(), clang::clangd::isPreambleCompatible(), and clang::clangd::ClangdServer::signatureHelp().
std::unique_ptr<PreambleFileStatusCache> clang::clangd::PreambleData::StatCache |
Definition at line 70 of file Preamble.h.
std::string clang::clangd::PreambleData::Version |
Definition at line 57 of file Preamble.h.