clang-tools 23.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())
 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

Reference Parent
TypeInfo ReturnType
llvm::ArrayRef< FieldTypeInfoParams = {}
StringRef Prototype = {}
std::optional< TemplateInfoTemplate
AccessSpecifier Access = AccessSpecifier::AS_public
bool IsMethod = false
Public Attributes inherited from clang::doc::SymbolInfo
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 650 of file Representation.h.

Constructor & Destructor Documentation

◆ FunctionInfo()

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

Member Function Documentation

◆ merge()

Member Data Documentation

◆ Access

◆ IsMethod

◆ Params

◆ Parent

◆ Prototype

StringRef clang::doc::FunctionInfo::Prototype = {}

Definition at line 659 of file Representation.h.

◆ ReturnType

◆ Template

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

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