clang-tools
11.0.0
|
#include <Representation.h>
Public Member Functions | |
SymbolInfo (InfoType IT) | |
SymbolInfo (InfoType IT, SymbolID USR) | |
SymbolInfo (InfoType IT, SymbolID USR, StringRef Name) | |
SymbolInfo (InfoType IT, SymbolID USR, StringRef Name, StringRef Path) | |
void | merge (SymbolInfo &&I) |
![]() | |
Info ()=default | |
Info (InfoType IT) | |
Info (InfoType IT, SymbolID USR) | |
Info (InfoType IT, SymbolID USR, StringRef Name) | |
Info (InfoType IT, SymbolID USR, StringRef Name, StringRef Path) | |
Info (const Info &Other)=delete | |
Info (Info &&Other)=default | |
virtual | ~Info ()=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. More... | |
llvm::SmallString< 16 > | getFileBaseName () const |
Returns the basename that should be used for this Info. More... | |
llvm::Expected< Reference > | getEnclosingScope () |
Public Attributes | |
llvm::Optional< Location > | DefLoc |
llvm::SmallVector< Location, 2 > | Loc |
![]() | |
SymbolID | USR |
const InfoType | IT = InfoType::IT_default |
SmallString< 16 > | Name |
llvm::SmallVector< Reference, 4 > | Namespace |
std::vector< CommentInfo > | Description |
llvm::SmallString< 128 > | Path |
Definition at line 304 of file Representation.h.
|
inline |
Definition at line 305 of file Representation.h.
Definition at line 306 of file Representation.h.
Definition at line 307 of file Representation.h.
|
inline |
Definition at line 308 of file Representation.h.
void clang::doc::SymbolInfo::merge | ( | SymbolInfo && | I | ) |
Definition at line 199 of file Representation.cpp.
References DefLoc, Loc, clang::doc::Info::mergeable(), and clang::doc::Info::mergeBase().
Referenced by clang::doc::FunctionInfo::merge(), clang::doc::RecordInfo::merge(), and clang::doc::EnumInfo::merge().
llvm::Optional<Location> clang::doc::SymbolInfo::DefLoc |
Definition at line 313 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), merge(), and clang::doc::serialize::populateSymbolInfo().
llvm::SmallVector<Location, 2> clang::doc::SymbolInfo::Loc |
Definition at line 314 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), merge(), and clang::doc::serialize::populateSymbolInfo().