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

#include <Representation.h>

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

Public Member Functions

 SymbolInfo (InfoType IT, SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef())
 SymbolInfo (const SymbolInfo &Other, llvm::BumpPtrAllocator &Arena)
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, llvm::BumpPtrAllocator &Arena)
 Info (const Info &Other)=delete
 Info (Info &&Other)=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

std::optional< LocationDefLoc
DocList< LocationLoc = {}
StringRef MangledName = {}
bool IsStatic = false
Public Attributes inherited from clang::doc::Info
StringRef Path = {}
StringRef Name = {}
StringRef DocumentationFileName = {}
llvm::ArrayRef< ReferenceNamespace
SymbolID USR = SymbolID()
SymbolID ParentUSR = SymbolID()
InfoType IT = InfoType::IT_default
DocList< CommentInfoDescription = {}

Detailed Description

Definition at line 593 of file Representation.h.

Constructor & Destructor Documentation

◆ SymbolInfo() [1/2]

◆ SymbolInfo() [2/2]

clang::doc::SymbolInfo::SymbolInfo ( const SymbolInfo & Other,
llvm::BumpPtrAllocator & Arena )

Definition at line 477 of file Representation.cpp.

References DefLoc, clang::doc::Info::Info(), IsStatic, Loc, MangledName, and SymbolInfo().

Member Function Documentation

◆ merge()

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

◆ operator<()

bool clang::doc::SymbolInfo::operator< ( const SymbolInfo & Other) const
inline

Definition at line 602 of file Representation.h.

References DefLoc, clang::doc::Info::extractName(), Loc, and SymbolInfo().

Member Data Documentation

◆ DefLoc

◆ IsStatic

◆ Loc

◆ MangledName

StringRef clang::doc::SymbolInfo::MangledName = {}

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