|
clang-tools 23.0.0git
|
#include <Representation.h>
Public Member Functions | |
| RecordInfo (SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef()) | |
| RecordInfo (const RecordInfo &Other, llvm::BumpPtrAllocator &Arena) | |
| void | merge (RecordInfo &&I) |
| Public Member Functions inherited from clang::doc::SymbolInfo | |
| SymbolInfo (InfoType IT, SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef()) | |
| SymbolInfo (const SymbolInfo &Other, llvm::BumpPtrAllocator &Arena) | |
| 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, llvm::BumpPtrAllocator &Arena) | |
| Info (const Info &Other)=delete | |
| Info (Info &&Other)=default | |
| Info & | operator= (Info &&Other)=default |
| void | mergeBase (Info &&I) |
| bool | mergeable (const Info &Other) |
| StringRef | extractName () const |
| StringRef | getRelativeFilePath (const StringRef &CurrentPath) const |
| Returns the file path for this Info relative to CurrentPath. | |
| StringRef | getFileBaseName () const |
| Returns the basename that should be used for this Info. | |
Public Attributes | |
| TagTypeKind | TagType = TagTypeKind::Struct |
| bool | IsTypeDef = false |
| std::optional< TemplateInfo > | Template |
| llvm::ArrayRef< MemberTypeInfo > | Members |
| llvm::ArrayRef< Reference > | Parents |
| llvm::ArrayRef< Reference > | VirtualParents |
| llvm::ArrayRef< BaseRecordInfo > | Bases |
| llvm::ArrayRef< FriendInfo > | Friends = {} |
| ScopeChildren | Children |
| Public Attributes inherited from clang::doc::SymbolInfo | |
| std::optional< Location > | DefLoc |
| DocList< Location > | Loc = {} |
| StringRef | MangledName = {} |
| bool | IsStatic = false |
| Public Attributes inherited from clang::doc::Info | |
| StringRef | Path = {} |
| StringRef | Name = {} |
| StringRef | DocumentationFileName = {} |
| llvm::ArrayRef< Reference > | Namespace |
| SymbolID | USR = SymbolID() |
| SymbolID | ParentUSR = SymbolID() |
| InfoType | IT = InfoType::IT_default |
| DocList< CommentInfo > | Description = {} |
Definition at line 676 of file Representation.h.
| clang::doc::RecordInfo::RecordInfo | ( | SymbolID | USR = SymbolID(), |
| StringRef | Name = StringRef(), | ||
| StringRef | Path = StringRef() ) |
Definition at line 517 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(), clang::doc::BaseRecordInfo::BaseRecordInfo(), merge(), and RecordInfo().
| clang::doc::RecordInfo::RecordInfo | ( | const RecordInfo & | Other, |
| llvm::BumpPtrAllocator & | Arena ) |
Definition at line 525 of file Representation.cpp.
References clang::doc::allocateArray(), Bases, clang::doc::deepCopyArray(), Friends, IsTypeDef, Members, Parents, RecordInfo(), clang::doc::SymbolInfo::SymbolInfo(), TagType, and VirtualParents.
| void clang::doc::RecordInfo::merge | ( | RecordInfo && | I | ) |
Definition at line 546 of file Representation.cpp.
References clang::doc::allocateArray(), Bases, Children, clang::doc::deepCopyArray(), Friends, IsTypeDef, Members, merge(), clang::doc::Info::mergeable(), Parents, clang::doc::PersistentArena, RecordInfo(), clang::doc::reduceChildren(), TagType, Template, and VirtualParents.
Referenced by merge().
| llvm::ArrayRef<BaseRecordInfo> clang::doc::RecordInfo::Bases |
Definition at line 703 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::serialize::Serializer::emitInfo(), merge(), clang::doc::ClangDocBitcodeReader::readBlock(), clang::doc::ClangDocBitcodeReader::readBlock(), RecordInfo(), and llvm::yaml::recordInfoMapping().
| ScopeChildren clang::doc::RecordInfo::Children |
Definition at line 709 of file Representation.h.
Referenced by clang::doc::addReference(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genMarkdown(), merge(), and llvm::yaml::recordInfoMapping().
| llvm::ArrayRef<FriendInfo> clang::doc::RecordInfo::Friends = {} |
Definition at line 707 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), merge(), clang::doc::ClangDocBitcodeReader::readBlock(), clang::doc::ClangDocBitcodeReader::readBlock(), and RecordInfo().
| bool clang::doc::RecordInfo::IsTypeDef = false |
Definition at line 691 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::serialize::Serializer::emitInfo(), merge(), clang::doc::parseRecord(), RecordInfo(), and llvm::yaml::recordInfoMapping().
| llvm::ArrayRef<MemberTypeInfo> clang::doc::RecordInfo::Members |
Definition at line 696 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genMarkdown(), merge(), clang::doc::ClangDocBitcodeReader::readBlock(), clang::doc::ClangDocBitcodeReader::readBlock(), RecordInfo(), and llvm::yaml::recordInfoMapping().
| llvm::ArrayRef<Reference> clang::doc::RecordInfo::Parents |
Definition at line 698 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genMarkdown(), merge(), clang::doc::ClangDocBitcodeReader::readBlock(), clang::doc::ClangDocBitcodeReader::readBlock(), RecordInfo(), and llvm::yaml::recordInfoMapping().
| TagTypeKind clang::doc::RecordInfo::TagType = TagTypeKind::Struct |
Definition at line 685 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::serialize::Serializer::emitInfo(), clang::doc::genMarkdown(), merge(), clang::doc::parseRecord(), clang::doc::parseRecord(), RecordInfo(), and llvm::yaml::recordInfoMapping().
| std::optional<TemplateInfo> clang::doc::RecordInfo::Template |
Definition at line 694 of file Representation.h.
Referenced by clang::doc::addTemplate(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::serialize::Serializer::emitInfo(), merge(), and llvm::yaml::recordInfoMapping().
| llvm::ArrayRef<Reference> clang::doc::RecordInfo::VirtualParents |
Definition at line 700 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genMarkdown(), merge(), clang::doc::ClangDocBitcodeReader::readBlock(), clang::doc::ClangDocBitcodeReader::readBlock(), RecordInfo(), and llvm::yaml::recordInfoMapping().