clang-tools
7.0.0
|
A base struct for Infos. More...
#include <Representation.h>
Public Member Functions | |
Info ()=default | |
Info (InfoType IT) | |
Info (const Info &Other)=delete | |
Info (Info &&Other)=default | |
void | mergeBase (Info &&I) |
bool | mergeable (const Info &Other) |
Public Attributes | |
SymbolID | USR |
const InfoType | IT = InfoType::IT_default |
SmallString< 16 > | Name |
llvm::SmallVector< Reference, 4 > | Namespace |
std::vector< CommentInfo > | Description |
A base struct for Infos.
Definition at line 153 of file Representation.h.
|
default |
|
inline |
Definition at line 155 of file Representation.h.
References Info.
|
delete |
|
default |
bool clang::doc::Info::mergeable | ( | const Info & | Other | ) |
Definition at line 75 of file Representation.cpp.
Referenced by clang::doc::NamespaceInfo::merge(), clang::doc::SymbolInfo::merge(), clang::doc::FunctionInfo::merge(), clang::doc::RecordInfo::merge(), clang::doc::EnumInfo::merge(), and mergeBase().
void clang::doc::Info::mergeBase | ( | Info && | I | ) |
Definition at line 62 of file Representation.cpp.
References Description, mergeable(), Name, Namespace, and USR.
Referenced by clang::doc::NamespaceInfo::merge(), and clang::doc::SymbolInfo::merge().
std::vector<CommentInfo> clang::doc::Info::Description |
Definition at line 165 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::getCommentInfo(), llvm::yaml::InfoMapping(), mergeBase(), and clang::doc::serialize::populateInfo().
const InfoType clang::doc::Info::IT = InfoType::IT_default |
Definition at line 161 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::dispatchInfoForWrite(), clang::doc::YAMLGenerator::generateDocForInfo(), and mergeable().
SmallString<16> clang::doc::Info::Name |
Definition at line 162 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), llvm::yaml::InfoMapping(), main(), mergeBase(), clang::doc::parseRecord(), and clang::doc::serialize::populateInfo().
llvm::SmallVector<Reference, 4> clang::doc::Info::Namespace |
Definition at line 164 of file Representation.h.
Referenced by clang::doc::addReference(), clang::doc::ClangDocBitcodeWriter::emitBlock(), llvm::yaml::InfoMapping(), main(), mergeBase(), and clang::doc::serialize::populateInfo().
SymbolID clang::doc::Info::USR |
Definition at line 159 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), llvm::yaml::InfoMapping(), mergeable(), mergeBase(), clang::doc::parseRecord(), and clang::doc::serialize::populateInfo().