|
clang-tools 22.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 |
| 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 |
| std::vector< FriendInfo > | Friends |
| ScopeChildren | Children |
| Public Attributes inherited from clang::doc::SymbolInfo | |
| std::optional< Location > | DefLoc |
| llvm::SmallVector< Location, 2 > | Loc |
| SmallString< 16 > | MangledName |
| bool | IsStatic = false |
| 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 |
| SmallString< 16 > | DocumentationFileName |
Definition at line 450 of file Representation.h.
| clang::doc::RecordInfo::RecordInfo | ( | SymbolID | USR = SymbolID(), |
| StringRef | Name = StringRef(), | ||
| StringRef | Path = StringRef() ) |
Definition at line 315 of file Representation.cpp.
References clang::doc::IT_record, clang::doc::Info::Name, clang::doc::Info::Path, clang::doc::SymbolInfo::SymbolInfo(), and clang::doc::Info::USR.
Referenced by clang::doc::BaseRecordInfo::BaseRecordInfo(), clang::doc::BaseRecordInfo::BaseRecordInfo(), and merge().
| void clang::doc::RecordInfo::merge | ( | RecordInfo && | I | ) |
Definition at line 318 of file Representation.cpp.
References Bases, Children, Friends, IsTypeDef, Members, clang::doc::Info::mergeable(), Parents, RecordInfo(), TagType, Template, and VirtualParents.
| std::vector<BaseRecordInfo> clang::doc::RecordInfo::Bases |
Definition at line 477 of file Representation.h.
Referenced by clang::doc::addChild(), clang::doc::ClangDocBitcodeWriter::emitBlock(), merge(), clang::doc::serialize::parseBases(), llvm::yaml::recordInfoMapping(), and clang::doc::serializeInfo().
| ScopeChildren clang::doc::RecordInfo::Children |
Definition at line 482 of file Representation.h.
Referenced by clang::doc::addChild(), clang::doc::addChild(), clang::doc::addChild(), clang::doc::addChild(), clang::doc::addReference(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), llvm::yaml::recordInfoMapping(), and clang::doc::serializeInfo().
| std::vector<FriendInfo> clang::doc::RecordInfo::Friends |
Definition at line 480 of file Representation.h.
Referenced by clang::doc::addChild(), clang::doc::ClangDocBitcodeWriter::emitBlock(), merge(), clang::doc::serialize::parseFriends(), and clang::doc::serializeInfo().
| bool clang::doc::RecordInfo::IsTypeDef = false |
Definition at line 466 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), merge(), clang::doc::parseRecord(), llvm::yaml::recordInfoMapping(), and clang::doc::serializeInfo().
| llvm::SmallVector<MemberTypeInfo, 4> clang::doc::RecordInfo::Members |
Definition at line 469 of file Representation.h.
Referenced by clang::doc::addTypeInfo(), clang::doc::addTypeInfo(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), clang::doc::serialize::populateMemberTypeInfo(), llvm::yaml::recordInfoMapping(), and clang::doc::serializeInfo().
| llvm::SmallVector<Reference, 4> clang::doc::RecordInfo::Parents |
Definition at line 470 of file Representation.h.
Referenced by clang::doc::addReference(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), clang::doc::serialize::parseBases(), llvm::yaml::recordInfoMapping(), and clang::doc::serializeInfo().
| TagTypeKind clang::doc::RecordInfo::TagType = TagTypeKind::Struct |
Definition at line 457 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), clang::doc::parseRecord(), clang::doc::parseRecord(), llvm::yaml::recordInfoMapping(), and clang::doc::serializeInfo().
| std::optional<TemplateInfo> clang::doc::RecordInfo::Template |
Definition at line 460 of file Representation.h.
Referenced by clang::doc::addTemplate(), clang::doc::ClangDocBitcodeWriter::emitBlock(), merge(), llvm::yaml::recordInfoMapping(), and clang::doc::serializeInfo().
| llvm::SmallVector<Reference, 4> clang::doc::RecordInfo::VirtualParents |
Definition at line 474 of file Representation.h.
Referenced by clang::doc::addReference(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), clang::doc::serialize::parseBases(), llvm::yaml::recordInfoMapping(), and clang::doc::serializeInfo().