clang-tools 22.0.0git
|
#include <Representation.h>
Public Member Functions | |
VarInfo () | |
VarInfo (SymbolID USR) | |
void | merge (VarInfo &&I) |
![]() | |
SymbolInfo (InfoType IT, SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef()) | |
void | merge (SymbolInfo &&I) |
bool | operator< (const SymbolInfo &Other) const |
![]() | |
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 | Type |
![]() | |
std::optional< Location > | DefLoc |
llvm::SmallVector< Location, 2 > | Loc |
SmallString< 16 > | MangledName |
bool | IsStatic = false |
![]() | |
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 410 of file Representation.h.
|
inline |
Definition at line 411 of file Representation.h.
|
inlineexplicit |
Definition at line 412 of file Representation.h.
void clang::doc::VarInfo::merge | ( | VarInfo && | I | ) |
Definition at line 391 of file Representation.cpp.
References clang::doc::EmptySID, clang::doc::SymbolInfo::IsStatic, clang::doc::Info::mergeable(), clang::doc::Reference::Name, clang::doc::TypeInfo::Type, Type, and clang::doc::Reference::USR.
TypeInfo clang::doc::VarInfo::Type |
Definition at line 416 of file Representation.h.
Referenced by clang::doc::addTypeInfo(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::serialize::emitInfo(), merge(), and clang::doc::serializeInfo().