clang-tools 23.0.0git
clang::doc::VarInfo Struct Reference

#include <Representation.h>

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

Public Member Functions

 VarInfo ()
 VarInfo (SymbolID USR)
void merge (VarInfo &&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)
StringRef extractName () const
StringRef getRelativeFilePath (const StringRef &CurrentPath) const
 Returns the file path for this Info relative to CurrentPath.
StringRef getFileBaseName () const
 Returns the basename that should be used for this Info.

Public Attributes

TypeInfo Type
Public Attributes inherited from clang::doc::SymbolInfo
std::optional< LocationDefLoc
llvm::SmallVector< Location, 2 > Loc
StringRef MangledName
bool IsStatic = false
Public Attributes inherited from clang::doc::Info
StringRef Path
StringRef Name
StringRef DocumentationFileName
llvm::SmallVector< Reference, 4 > Namespace
SymbolID USR = SymbolID()
SymbolID ParentUSR = SymbolID()
InfoType IT = InfoType::IT_default
OwningVec< CommentInfoDescription
SmallVector< Context, 4 > Contexts

Detailed Description

Definition at line 548 of file Representation.h.

Constructor & Destructor Documentation

◆ VarInfo() [1/2]

clang::doc::VarInfo::VarInfo ( )
inline

Definition at line 549 of file Representation.h.

References clang::doc::IT_variable, and clang::doc::SymbolInfo::SymbolInfo().

Referenced by merge().

◆ VarInfo() [2/2]

clang::doc::VarInfo::VarInfo ( SymbolID USR)
inlineexplicit

Member Function Documentation

◆ merge()

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

Member Data Documentation

◆ Type


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