clang-tools
15.0.0git
|
#include <Representation.h>
Public Member Functions | |
RecordInfo () | |
RecordInfo (SymbolID USR) | |
RecordInfo (SymbolID USR, StringRef Name) | |
RecordInfo (SymbolID USR, StringRef Name, StringRef Path) | |
void | merge (RecordInfo &&I) |
![]() | |
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) |
![]() | |
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::SmallString< 64 > | getRelativeFilePath (const StringRef &CurrentPath) const |
Returns the file path for this Info relative to CurrentPath. More... | |
llvm::SmallString< 16 > | getFileBaseName () const |
Returns the basename that should be used for this Info. More... | |
llvm::Expected< Reference > | getEnclosingScope () |
Public Attributes | |
TagTypeKind | TagType = TagTypeKind::TTK_Struct |
bool | IsTypeDef = false |
llvm::SmallVector< MemberTypeInfo, 4 > | Members |
llvm::SmallVector< Reference, 4 > | Parents |
llvm::SmallVector< Reference, 4 > | VirtualParents |
std::vector< BaseRecordInfo > | Bases |
std::vector< Reference > | ChildRecords |
std::vector< FunctionInfo > | ChildFunctions |
std::vector< EnumInfo > | ChildEnums |
![]() | |
llvm::Optional< Location > | DefLoc |
llvm::SmallVector< Location, 2 > | Loc |
![]() | |
SymbolID | USR |
const InfoType | IT = InfoType::IT_default |
SmallString< 16 > | Name |
llvm::SmallVector< Reference, 4 > | Namespace |
std::vector< CommentInfo > | Description |
llvm::SmallString< 128 > | Path |
Definition at line 339 of file Representation.h.
|
inline |
Definition at line 340 of file Representation.h.
References clang::doc::IT_record.
|
inline |
Definition at line 341 of file Representation.h.
References clang::doc::IT_record.
|
inline |
Definition at line 342 of file Representation.h.
References clang::doc::IT_record.
|
inline |
Definition at line 344 of file Representation.h.
References clang::doc::IT_record.
void clang::doc::RecordInfo::merge | ( | RecordInfo && | I | ) |
Definition at line 221 of file Representation.cpp.
References Bases, ChildEnums, ChildFunctions, ChildRecords, Members, clang::doc::SymbolInfo::merge(), clang::doc::Info::mergeable(), Parents, TagType, and VirtualParents.
std::vector<BaseRecordInfo> clang::doc::RecordInfo::Bases |
Definition at line 362 of file Representation.h.
Referenced by clang::doc::addChild(), merge(), clang::doc::serialize::parseBases(), and llvm::yaml::RecordInfoMapping().
std::vector<EnumInfo> clang::doc::RecordInfo::ChildEnums |
Definition at line 370 of file Representation.h.
Referenced by clang::doc::addChild(), clang::doc::genHTML(), merge(), and llvm::yaml::RecordInfoMapping().
std::vector<FunctionInfo> clang::doc::RecordInfo::ChildFunctions |
Definition at line 369 of file Representation.h.
Referenced by clang::doc::addChild(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), and llvm::yaml::RecordInfoMapping().
std::vector<Reference> clang::doc::RecordInfo::ChildRecords |
Definition at line 368 of file Representation.h.
Referenced by clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), and llvm::yaml::RecordInfoMapping().
bool clang::doc::RecordInfo::IsTypeDef = false |
Definition at line 352 of file Representation.h.
Referenced by clang::doc::parseRecord().
llvm::SmallVector<MemberTypeInfo, 4> clang::doc::RecordInfo::Members |
Definition at line 354 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), and llvm::yaml::RecordInfoMapping().
llvm::SmallVector<Reference, 4> clang::doc::RecordInfo::Parents |
Definition at line 355 of file Representation.h.
Referenced by clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), clang::doc::serialize::parseBases(), and llvm::yaml::RecordInfoMapping().
TagTypeKind clang::doc::RecordInfo::TagType = TagTypeKind::TTK_Struct |
Definition at line 349 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), clang::doc::parseRecord(), and llvm::yaml::RecordInfoMapping().
llvm::SmallVector<Reference, 4> clang::doc::RecordInfo::VirtualParents |
Definition at line 359 of file Representation.h.
Referenced by clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), clang::doc::serialize::parseBases(), and llvm::yaml::RecordInfoMapping().