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

#include <Representation.h>

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

Public Member Functions

 FunctionInfo (SymbolID USR=SymbolID())
void merge (FunctionInfo &&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

bool IsMethod = false
Reference Parent
TypeInfo ReturnType
llvm::SmallVector< FieldTypeInfo, 4 > Params
AccessSpecifier Access = AccessSpecifier::AS_public
SmallString< 16 > FullName
SmallString< 256 > Prototype
std::optional< TemplateInfoTemplate
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
SymbolID USR
InfoType IT = InfoType::IT_default
SmallString< 16 > Name
llvm::SmallVector< Reference, 4 > Namespace
std::vector< CommentInfoDescription
llvm::SmallString< 128 > Path
SmallString< 16 > DocumentationFileName

Detailed Description

Definition at line 421 of file Representation.h.

Constructor & Destructor Documentation

◆ FunctionInfo()

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

Member Function Documentation

◆ merge()

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

Member Data Documentation

◆ Access

◆ FullName

SmallString<16> clang::doc::FunctionInfo::FullName

Definition at line 439 of file Representation.h.

◆ IsMethod

◆ Params

◆ Parent

◆ Prototype

SmallString<256> clang::doc::FunctionInfo::Prototype

Definition at line 442 of file Representation.h.

Referenced by clang::doc::serialize::populateFunctionInfo().

◆ ReturnType

◆ Template


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