clang-tools
10.0.0
|
#include <Representation.h>
Public Member Functions | |
Reference ()=default | |
Reference (llvm::StringRef Name) | |
Reference (llvm::StringRef Name, StringRef Path) | |
Reference (SymbolID USR, StringRef Name, InfoType IT) | |
Reference (SymbolID USR, StringRef Name, InfoType IT, StringRef Path) | |
bool | operator== (const Reference &Other) const |
bool | mergeable (const Reference &Other) |
void | merge (Reference &&I) |
Public Attributes | |
SymbolID | USR = SymbolID() |
SmallString< 16 > | Name |
InfoType | RefType = InfoType::IT_default |
llvm::SmallString< 128 > | Path |
bool | IsInGlobalNamespace = false |
Definition at line 115 of file Representation.h.
|
default |
|
inline |
Definition at line 117 of file Representation.h.
|
inline |
Definition at line 120 of file Representation.h.
Definition at line 122 of file Representation.h.
|
inline |
Definition at line 126 of file Representation.h.
void clang::doc::Reference::merge | ( | Reference && | I | ) |
Definition at line 121 of file Representation.cpp.
References IsInGlobalNamespace, mergeable(), Name, and Path.
bool clang::doc::Reference::mergeable | ( | const Reference & | Other | ) |
Definition at line 117 of file Representation.cpp.
Referenced by merge(), clang::doc::NamespaceInfo::merge(), clang::doc::SymbolInfo::merge(), clang::doc::FunctionInfo::merge(), clang::doc::RecordInfo::merge(), clang::doc::EnumInfo::merge(), and clang::doc::Info::mergeBase().
|
inline |
bool clang::doc::Reference::IsInGlobalNamespace = false |
Definition at line 148 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genReference(), llvm::yaml::MappingTraits< Reference >::mapping(), and merge().
SmallString<16> clang::doc::Reference::Name |
Definition at line 139 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::Info::extractName(), clang::doc::genReference(), llvm::yaml::MappingTraits< Reference >::mapping(), merge(), clang::doc::Info::mergeBase(), clang::doc::Index::operator<(), and operator==().
llvm::SmallString<128> clang::doc::Reference::Path |
Definition at line 145 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genReference(), llvm::yaml::MappingTraits< Reference >::mapping(), merge(), and clang::doc::Info::mergeBase().
InfoType clang::doc::Reference::RefType = InfoType::IT_default |
Definition at line 140 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), llvm::yaml::MappingTraits< Reference >::mapping(), mergeable(), and operator==().
Definition at line 138 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::Info::extractName(), llvm::yaml::MappingTraits< Reference >::mapping(), mergeable(), clang::doc::Info::mergeable(), clang::doc::Info::mergeBase(), and operator==().