clang-tools 19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::clangd::PreambleData Struct Reference

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< DiagDiags
 
IncludeStructure Includes
 
std::shared_ptr< const include_cleaner::PragmaIncludes > Pragmas
 
MainFileMacros Macros
 
std::vector< PragmaMarkMarks
 
std::shared_ptr< PreambleFileStatusCacheStatCache
 
bool MainIsIncludeGuarded = false
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PreambleData()

clang::clangd::PreambleData::PreambleData ( PrecompiledPreamble  Preamble)
inline

Definition at line 95 of file Preamble.h.

Member Data Documentation

◆ CompileCommand

tooling::CompileCommand clang::clangd::PreambleData::CompileCommand

Definition at line 99 of file Preamble.h.

◆ Diags

std::vector<Diag> clang::clangd::PreambleData::Diags

Definition at line 101 of file Preamble.h.

◆ Includes

IncludeStructure clang::clangd::PreambleData::Includes

Definition at line 104 of file Preamble.h.

◆ Macros

MainFileMacros clang::clangd::PreambleData::Macros

Definition at line 110 of file Preamble.h.

◆ MainIsIncludeGuarded

bool clang::clangd::PreambleData::MainIsIncludeGuarded = false

Definition at line 118 of file Preamble.h.

◆ Marks

std::vector<PragmaMark> clang::clangd::PreambleData::Marks

Definition at line 112 of file Preamble.h.

◆ Pragmas

std::shared_ptr<const include_cleaner::PragmaIncludes> clang::clangd::PreambleData::Pragmas

Definition at line 106 of file Preamble.h.

◆ Preamble

PrecompiledPreamble clang::clangd::PreambleData::Preamble

Definition at line 100 of file Preamble.h.

Referenced by clang::clangd::ClangdServer::signatureHelp().

◆ StatCache

std::shared_ptr<PreambleFileStatusCache> clang::clangd::PreambleData::StatCache

Definition at line 115 of file Preamble.h.

◆ Version

std::string clang::clangd::PreambleData::Version

Definition at line 98 of file Preamble.h.


The documentation for this struct was generated from the following file: