clang-tools 22.0.0git
|
#include <Representation.h>
Public Member Functions | |
FriendInfo () | |
FriendInfo (SymbolID USR) | |
FriendInfo (const InfoType IT, const SymbolID &USR, const StringRef Name=StringRef()) | |
bool | mergeable (const FriendInfo &Other) |
void | merge (FriendInfo &&Other) |
![]() | |
SymbolInfo (InfoType IT, SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef()) | |
void | merge (SymbolInfo &&I) |
bool | operator< (const SymbolInfo &Other) const |
![]() | |
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 | |
Reference | Ref |
std::optional< TemplateInfo > | Template |
std::optional< TypeInfo > | ReturnType |
std::optional< SmallVector< FieldTypeInfo, 4 > > | Params |
bool | IsClass = false |
![]() | |
std::optional< Location > | DefLoc |
llvm::SmallVector< Location, 2 > | Loc |
SmallString< 16 > | MangledName |
bool | IsStatic = false |
![]() | |
SymbolID | USR |
InfoType | IT = InfoType::IT_default |
SmallString< 16 > | Name |
llvm::SmallVector< Reference, 4 > | Namespace |
std::vector< CommentInfo > | Description |
llvm::SmallString< 128 > | Path |
SmallString< 16 > | DocumentationFileName |
Definition at line 394 of file Representation.h.
|
inline |
Definition at line 395 of file Representation.h.
|
inline |
Definition at line 396 of file Representation.h.
|
inline |
Definition at line 397 of file Representation.h.
void clang::doc::FriendInfo::merge | ( | FriendInfo && | Other | ) |
Definition at line 258 of file Representation.cpp.
References clang::doc::Reference::merge(), mergeable(), and Ref.
bool clang::doc::FriendInfo::mergeable | ( | const FriendInfo & | Other | ) |
Definition at line 254 of file Representation.cpp.
References clang::doc::Reference::Name, Ref, and clang::doc::Reference::USR.
Referenced by merge().
bool clang::doc::FriendInfo::IsClass = false |
Definition at line 407 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), and clang::doc::serializeInfo().
std::optional<SmallVector<FieldTypeInfo, 4> > clang::doc::FriendInfo::Params |
Definition at line 406 of file Representation.h.
Referenced by clang::doc::addTypeInfo(), clang::doc::ClangDocBitcodeWriter::emitBlock(), and clang::doc::serializeInfo().
Reference clang::doc::FriendInfo::Ref |
Definition at line 403 of file Representation.h.
Referenced by clang::doc::addReference(), clang::doc::ClangDocBitcodeWriter::emitBlock(), merge(), mergeable(), and clang::doc::serializeInfo().
std::optional<TypeInfo> clang::doc::FriendInfo::ReturnType |
Definition at line 405 of file Representation.h.
Referenced by clang::doc::addTypeInfo(), clang::doc::ClangDocBitcodeWriter::emitBlock(), and clang::doc::serializeInfo().
std::optional<TemplateInfo> clang::doc::FriendInfo::Template |
Definition at line 404 of file Representation.h.
Referenced by clang::doc::addTemplate(), clang::doc::ClangDocBitcodeWriter::emitBlock(), and clang::doc::serializeInfo().