clang-tools 20.0.0git
|
#include <Representation.h>
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 |
Info & | operator= (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 |
std::optional< TemplateInfo > | Template |
Public Attributes inherited from clang::doc::SymbolInfo | |
std::optional< Location > | DefLoc |
llvm::SmallVector< Location, 2 > | Loc |
Public Attributes inherited from clang::doc::Info | |
SymbolID | USR |
InfoType | IT = InfoType::IT_default |
SmallString< 16 > | Name |
llvm::SmallVector< Reference, 4 > | Namespace |
std::vector< CommentInfo > | Description |
llvm::SmallString< 128 > | Path |
Definition at line 343 of file Representation.h.
Definition at line 344 of file Representation.h.
void clang::doc::FunctionInfo::merge | ( | FunctionInfo && | I | ) |
Definition at line 272 of file Representation.cpp.
References Access, clang::doc::EmptySID, IsMethod, clang::doc::Info::mergeable(), clang::doc::Reference::Name, Params, Parent, ReturnType, Template, clang::doc::TypeInfo::Type, and clang::doc::Reference::USR.
AccessSpecifier clang::doc::FunctionInfo::Access = AccessSpecifier::AS_public |
Definition at line 357 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::serialize::emitInfo(), clang::doc::genHTML(), clang::doc::genMarkdown(), llvm::yaml::MappingTraits< FunctionInfo >::mapping(), merge(), clang::doc::serialize::parseBases(), and clang::doc::parseRecord().
SmallString<16> clang::doc::FunctionInfo::FullName |
Definition at line 361 of file Representation.h.
bool clang::doc::FunctionInfo::IsMethod = false |
Definition at line 349 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::serialize::emitInfo(), llvm::yaml::MappingTraits< FunctionInfo >::mapping(), merge(), clang::doc::serialize::parseBases(), and clang::doc::parseRecord().
llvm::SmallVector<FieldTypeInfo, 4> clang::doc::FunctionInfo::Params |
Definition at line 352 of file Representation.h.
Referenced by clang::doc::addTypeInfo(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), llvm::yaml::MappingTraits< FunctionInfo >::mapping(), merge(), and clang::doc::serialize::parseParameters().
Reference clang::doc::FunctionInfo::Parent |
Definition at line 350 of file Representation.h.
Referenced by clang::doc::addReference(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::serialize::emitInfo(), llvm::yaml::MappingTraits< FunctionInfo >::mapping(), and merge().
TypeInfo clang::doc::FunctionInfo::ReturnType |
Definition at line 351 of file Representation.h.
Referenced by clang::doc::addTypeInfo(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), llvm::yaml::MappingTraits< FunctionInfo >::mapping(), merge(), and clang::doc::serialize::populateFunctionInfo().
std::optional<TemplateInfo> clang::doc::FunctionInfo::Template |
Definition at line 364 of file Representation.h.
Referenced by clang::doc::addTemplate(), clang::doc::ClangDocBitcodeWriter::emitBlock(), llvm::yaml::MappingTraits< FunctionInfo >::mapping(), merge(), and clang::doc::serialize::populateFunctionInfo().