clang-tools 20.0.0git
|
#include <Representation.h>
Public Member Functions | |
RecordInfo (SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef()) | |
void | merge (RecordInfo &&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 | |
TagTypeKind | TagType = TagTypeKind::Struct |
SmallString< 16 > | FullName |
std::optional< TemplateInfo > | Template |
bool | IsTypeDef = false |
llvm::SmallVector< MemberTypeInfo, 4 > | Members |
llvm::SmallVector< Reference, 4 > | Parents |
llvm::SmallVector< Reference, 4 > | VirtualParents |
std::vector< BaseRecordInfo > | Bases |
ScopeChildren | Children |
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 370 of file Representation.h.
clang::doc::RecordInfo::RecordInfo | ( | SymbolID | USR = SymbolID() , |
StringRef | Name = StringRef() , |
||
StringRef | Path = StringRef() |
||
) |
Definition at line 237 of file Representation.cpp.
void clang::doc::RecordInfo::merge | ( | RecordInfo && | I | ) |
Definition at line 240 of file Representation.cpp.
References Bases, Children, clang::doc::ScopeChildren::Enums, clang::doc::ScopeChildren::Functions, IsTypeDef, Members, clang::doc::Info::mergeable(), Parents, clang::doc::ScopeChildren::Records, TagType, Template, clang::doc::ScopeChildren::Typedefs, and VirtualParents.
std::vector<BaseRecordInfo> clang::doc::RecordInfo::Bases |
Definition at line 401 of file Representation.h.
Referenced by clang::doc::addChild(), clang::doc::ClangDocBitcodeWriter::emitBlock(), merge(), clang::doc::serialize::parseBases(), and llvm::yaml::RecordInfoMapping().
ScopeChildren clang::doc::RecordInfo::Children |
Definition at line 404 of file Representation.h.
Referenced by clang::doc::addChild(), clang::doc::addReference(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), and llvm::yaml::RecordInfoMapping().
SmallString<16> clang::doc::RecordInfo::FullName |
Definition at line 381 of file Representation.h.
bool clang::doc::RecordInfo::IsTypeDef = false |
Definition at line 390 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), merge(), clang::doc::parseRecord(), and llvm::yaml::RecordInfoMapping().
llvm::SmallVector<MemberTypeInfo, 4> clang::doc::RecordInfo::Members |
Definition at line 393 of file Representation.h.
Referenced by clang::doc::addTypeInfo(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), clang::doc::serialize::parseFields(), and llvm::yaml::RecordInfoMapping().
llvm::SmallVector<Reference, 4> clang::doc::RecordInfo::Parents |
Definition at line 394 of file Representation.h.
Referenced by clang::doc::addReference(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), clang::doc::serialize::parseBases(), and llvm::yaml::RecordInfoMapping().
TagTypeKind clang::doc::RecordInfo::TagType = TagTypeKind::Struct |
Definition at line 377 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), clang::doc::parseRecord(), and llvm::yaml::RecordInfoMapping().
std::optional<TemplateInfo> clang::doc::RecordInfo::Template |
Definition at line 384 of file Representation.h.
Referenced by clang::doc::addTemplate(), clang::doc::ClangDocBitcodeWriter::emitBlock(), merge(), and llvm::yaml::RecordInfoMapping().
llvm::SmallVector<Reference, 4> clang::doc::RecordInfo::VirtualParents |
Definition at line 398 of file Representation.h.
Referenced by clang::doc::addReference(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), clang::doc::serialize::parseBases(), and llvm::yaml::RecordInfoMapping().