clang-tools  15.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>

Collaboration diagram for clang::clangd::HoverInfo::PrintedType:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

std::string Type
 Pretty-printed type. More...
 
llvm::Optional< std::string > AKA
 Desugared type. More...
 

Detailed Description

Contains pretty-printed type and desugared type.

Definition at line 26 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 28 of file Hover.h.

◆ PrintedType() [3/3]

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

Definition at line 29 of file Hover.h.

Member Data Documentation

◆ AKA

llvm::Optional<std::string> clang::clangd::HoverInfo::PrintedType::AKA

Desugared type.

Definition at line 35 of file Hover.h.

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

◆ Type

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

Pretty-printed type.

Definition at line 33 of file Hover.h.

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


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