clang-tools 20.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()) | |
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 | |
bool | Scoped = false |
std::optional< TypeInfo > | BaseType |
llvm::SmallVector< EnumValueInfo, 4 > | Members |
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 464 of file Representation.h.
|
inline |
Definition at line 465 of file Representation.h.
|
inline |
Definition at line 466 of file Representation.h.
void clang::doc::EnumInfo::merge | ( | EnumInfo && | I | ) |
Definition at line 263 of file Representation.cpp.
References Members, clang::doc::Info::mergeable(), and Scoped.
std::optional<TypeInfo> clang::doc::EnumInfo::BaseType |
Definition at line 476 of file Representation.h.
Referenced by clang::doc::addTypeInfo(), clang::doc::ClangDocBitcodeWriter::emitBlock(), and llvm::yaml::MappingTraits< EnumInfo >::mapping().
llvm::SmallVector<EnumValueInfo, 4> clang::doc::EnumInfo::Members |
Definition at line 478 of file Representation.h.
Referenced by clang::doc::addChild(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), llvm::yaml::MappingTraits< EnumInfo >::mapping(), merge(), and clang::doc::serialize::parseEnumerators().
bool clang::doc::EnumInfo::Scoped = false |
Definition at line 471 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), llvm::yaml::MappingTraits< EnumInfo >::mapping(), merge(), and clang::doc::parseRecord().