clang-tools 20.0.0git
|
#include <Representation.h>
Public Member Functions | |
TypedefInfo (SymbolID USR=SymbolID()) | |
void | merge (TypedefInfo &&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 | |
TypeInfo | Underlying |
bool | IsUsing = false |
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 408 of file Representation.h.
Definition at line 409 of file Representation.h.
void clang::doc::TypedefInfo::merge | ( | TypedefInfo && | I | ) |
Definition at line 289 of file Representation.cpp.
References IsUsing, clang::doc::Info::mergeable(), clang::doc::Reference::Name, clang::doc::TypeInfo::Type, and Underlying.
bool clang::doc::TypedefInfo::IsUsing = false |
Definition at line 420 of file Representation.h.
Referenced by llvm::yaml::MappingTraits< TypedefInfo >::mapping(), merge(), and clang::doc::parseRecord().
TypeInfo clang::doc::TypedefInfo::Underlying |
Definition at line 414 of file Representation.h.
Referenced by clang::doc::addTypeInfo(), llvm::yaml::MappingTraits< TypedefInfo >::mapping(), and merge().