clang-tools  10.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::doc::FunctionInfo Struct Reference

#include <Representation.h>

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

Public Member Functions

 FunctionInfo ()
 
 FunctionInfo (SymbolID USR)
 
void merge (FunctionInfo &&I)
 
- Public Member Functions inherited from clang::doc::SymbolInfo
 SymbolInfo (InfoType IT)
 
 SymbolInfo (InfoType IT, SymbolID USR)
 
 SymbolInfo (InfoType IT, SymbolID USR, StringRef Name)
 
 SymbolInfo (InfoType IT, SymbolID USR, StringRef Name, StringRef Path)
 
void merge (SymbolInfo &&I)
 
- Public Member Functions inherited from clang::doc::Info
 Info ()=default
 
 Info (InfoType IT)
 
 Info (InfoType IT, SymbolID USR)
 
 Info (InfoType IT, SymbolID USR, StringRef Name)
 
 Info (InfoType IT, SymbolID USR, StringRef Name, StringRef Path)
 
 Info (const Info &Other)=delete
 
 Info (Info &&Other)=default
 
virtual ~Info ()=default
 
void mergeBase (Info &&I)
 
bool mergeable (const Info &Other)
 
llvm::SmallString< 16 > extractName () const
 
llvm::Expected< ReferencegetEnclosingScope ()
 

Public Attributes

bool IsMethod = false
 
Reference Parent
 
TypeInfo ReturnType
 
llvm::SmallVector< FieldTypeInfo, 4 > Params
 
AccessSpecifier Access = AccessSpecifier::AS_public
 
- Public Attributes inherited from clang::doc::SymbolInfo
llvm::Optional< LocationDefLoc
 
llvm::SmallVector< Location, 2 > Loc
 
- Public Attributes inherited from clang::doc::Info
SymbolID USR
 
const InfoType IT = InfoType::IT_default
 
SmallString< 16 > Name
 
llvm::SmallVector< Reference, 4 > Namespace
 
std::vector< CommentInfoDescription
 
llvm::SmallString< 128 > Path
 

Detailed Description

Definition at line 307 of file Representation.h.

Constructor & Destructor Documentation

◆ FunctionInfo() [1/2]

clang::doc::FunctionInfo::FunctionInfo ( )
inline

Definition at line 308 of file Representation.h.

◆ FunctionInfo() [2/2]

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

Definition at line 309 of file Representation.h.

Member Function Documentation

◆ merge()

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

Member Data Documentation

◆ Access

AccessSpecifier clang::doc::FunctionInfo::Access = AccessSpecifier::AS_public

◆ IsMethod

bool clang::doc::FunctionInfo::IsMethod = false

◆ Params

llvm::SmallVector<FieldTypeInfo, 4> clang::doc::FunctionInfo::Params

◆ Parent

Reference clang::doc::FunctionInfo::Parent

◆ ReturnType

TypeInfo clang::doc::FunctionInfo::ReturnType

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