clang-tools 22.0.0git
clang::doc::TypedefInfo Struct Reference

#include <Representation.h>

Inheritance diagram for clang::doc::TypedefInfo:
[legend]

Public Member Functions

 TypedefInfo (SymbolID USR=SymbolID())
void merge (TypedefInfo &&I)
Public Member Functions inherited from clang::doc::SymbolInfo
 SymbolInfo (InfoType IT, SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef())
void merge (SymbolInfo &&I)
bool operator< (const SymbolInfo &Other) const
Public Member Functions inherited from clang::doc::Info
 Info (InfoType IT=InfoType::IT_default, SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef())
 Info (const Info &Other)=delete
 Info (Info &&Other)=default
virtual ~Info ()=default
Infooperator= (Info &&Other)=default
void mergeBase (Info &&I)
bool mergeable (const Info &Other)
llvm::SmallString< 16 > extractName () const
llvm::SmallString< 64 > getRelativeFilePath (const StringRef &CurrentPath) const
 Returns the file path for this Info relative to CurrentPath.
llvm::SmallString< 16 > getFileBaseName () const
 Returns the basename that should be used for this Info.

Public Attributes

TypeInfo Underlying
std::optional< TemplateInfoTemplate
SmallString< 16 > TypeDeclaration
bool IsUsing = false
Public Attributes inherited from clang::doc::SymbolInfo
std::optional< LocationDefLoc
llvm::SmallVector< Location, 2 > Loc
SmallString< 16 > MangledName
bool IsStatic = false
Public Attributes inherited from clang::doc::Info
llvm::SmallString< 128 > Path
SmallString< 16 > Name
SmallString< 16 > DocumentationFileName
llvm::SmallVector< Reference, 4 > Namespace
SymbolID USR = SymbolID()
SymbolID ParentUSR = SymbolID()
InfoType IT = InfoType::IT_default
std::vector< CommentInfoDescription
SmallVector< Context, 4 > Contexts

Detailed Description

Definition at line 511 of file Representation.h.

Constructor & Destructor Documentation

◆ TypedefInfo()

clang::doc::TypedefInfo::TypedefInfo ( SymbolID USR = SymbolID())
inline

Member Function Documentation

◆ merge()

void clang::doc::TypedefInfo::merge ( TypedefInfo && I)

Member Data Documentation

◆ IsUsing

bool clang::doc::TypedefInfo::IsUsing = false

◆ Template

std::optional<TemplateInfo> clang::doc::TypedefInfo::Template

Definition at line 520 of file Representation.h.

Referenced by clang::doc::addTemplate(), merge(), and clang::doc::serializeInfo().

◆ TypeDeclaration

SmallString<16> clang::doc::TypedefInfo::TypeDeclaration

Definition at line 523 of file Representation.h.

Referenced by clang::doc::serializeInfo().

◆ Underlying

TypeInfo clang::doc::TypedefInfo::Underlying

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