clang-tools 20.0.0git
Public Member Functions | Public Attributes | List of all members
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.

◆ PrintedType() [3/3]

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

Definition at line 32 of file Hover.h.

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==().

◆ Type

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

Pretty-printed type.

Definition at line 36 of file Hover.h.

Referenced by clang::clangd::operator==().


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