clang-tools 22.0.0git
clang::clangd::HoverInfo::PrintedType Struct Reference

Contains pretty-printed type and desugared type. More...

#include <Hover.h>

Public Member Functions

 PrintedType ()=default
 PrintedType (const char *Type)
 PrintedType (const char *Type, const char *AKAType)

Public Attributes

std::string Type
 Pretty-printed type.
std::optional< std::string > AKA
 Desugared type.

Detailed Description

Contains pretty-printed type and desugared type.

Definition at line 29 of file Hover.h.

Constructor & Destructor Documentation

◆ PrintedType() [1/3]

clang::clangd::HoverInfo::PrintedType::PrintedType ( )
default

◆ PrintedType() [2/3]

clang::clangd::HoverInfo::PrintedType::PrintedType ( const char * Type)
inline

Definition at line 31 of file Hover.h.

References Type.

◆ PrintedType() [3/3]

clang::clangd::HoverInfo::PrintedType::PrintedType ( const char * Type,
const char * AKAType )
inline

Definition at line 32 of file Hover.h.

References AKA, and Type.

Member Data Documentation

◆ AKA

std::optional<std::string> clang::clangd::HoverInfo::PrintedType::AKA

Desugared type.

Definition at line 38 of file Hover.h.

Referenced by clang::clangd::operator==(), and PrintedType().

◆ Type

std::string clang::clangd::HoverInfo::PrintedType::Type

Pretty-printed type.

Definition at line 36 of file Hover.h.

Referenced by clang::clangd::operator==(), PrintedType(), and PrintedType().


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