Changeset View
Changeset View
Standalone View
Standalone View
clang-tools-extra/clangd/Hover.h
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | struct HoverInfo { | ||||
std::string LocalScope; | std::string LocalScope; | ||||
/// Name of the symbol, does not contain any "::". | /// Name of the symbol, does not contain any "::". | ||||
std::string Name; | std::string Name; | ||||
llvm::Optional<Range> SymRange; | llvm::Optional<Range> SymRange; | ||||
index::SymbolKind Kind = index::SymbolKind::Unknown; | index::SymbolKind Kind = index::SymbolKind::Unknown; | ||||
std::string Documentation; | std::string Documentation; | ||||
/// Source code containing the definition of the symbol. | /// Source code containing the definition of the symbol. | ||||
std::string Definition; | std::string Definition; | ||||
std::string MacroExpansion; | |||||
const char *DefinitionLanguage = "cpp"; | const char *DefinitionLanguage = "cpp"; | ||||
/// Access specifier for declarations inside class/struct/unions, empty for | /// Access specifier for declarations inside class/struct/unions, empty for | ||||
/// others. | /// others. | ||||
std::string AccessSpecifier; | std::string AccessSpecifier; | ||||
/// Printable variable type. | /// Printable variable type. | ||||
/// Set only for variables. | /// Set only for variables. | ||||
llvm::Optional<PrintedType> Type; | llvm::Optional<PrintedType> Type; | ||||
/// Set for functions and lambdas. | /// Set for functions and lambdas. | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |