|
clang-tools 23.0.0git
|
#include <Representation.h>
Public Member Functions | |
| EnumInfo () | |
| EnumInfo (SymbolID USR) | |
| void | merge (EnumInfo &&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 | |
| bool | Scoped = false |
| std::optional< TypeInfo > | BaseType |
| llvm::ArrayRef< EnumValueInfo > | Members = {} |
| 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 780 of file Representation.h.
|
inline |
Definition at line 781 of file Representation.h.
References clang::doc::IT_enum, and clang::doc::SymbolInfo::SymbolInfo().
Referenced by merge().
|
inline |
Definition at line 782 of file Representation.h.
References clang::doc::IT_enum, clang::doc::SymbolInfo::SymbolInfo(), and clang::doc::Info::USR.
| void clang::doc::EnumInfo::merge | ( | EnumInfo && | I | ) |
Definition at line 582 of file Representation.cpp.
References BaseType, clang::doc::deepCopyArray(), EnumInfo(), Members, clang::doc::Info::mergeable(), clang::doc::PersistentArena, and Scoped.
| std::optional<TypeInfo> clang::doc::EnumInfo::BaseType |
Definition at line 792 of file Representation.h.
Referenced by clang::doc::addTypeInfo(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genMarkdown(), llvm::yaml::MappingTraits< EnumInfo >::mapping(), and merge().
| llvm::ArrayRef<EnumValueInfo> clang::doc::EnumInfo::Members = {} |
Definition at line 794 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genMarkdown(), llvm::yaml::MappingTraits< EnumInfo >::mapping(), merge(), and clang::doc::ClangDocBitcodeReader::readBlock().
| bool clang::doc::EnumInfo::Scoped = false |
Definition at line 787 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genMarkdown(), llvm::yaml::MappingTraits< EnumInfo >::mapping(), merge(), and clang::doc::parseRecord().