clang-tools
7.0.0
|
Classes | |
class | ClangDocCommentVisitor |
Functions | |
SymbolID | hashUSR (llvm::StringRef USR) |
template<typename T > | |
static std::string | serialize (T &I) |
static void | parseFullComment (const FullComment *C, CommentInfo &CI) |
static SymbolID | getUSRForDecl (const Decl *D) |
static RecordDecl * | getDeclForType (const QualType &T) |
static bool | isPublic (const clang::AccessSpecifier AS, const clang::Linkage Link) |
static void | parseFields (RecordInfo &I, const RecordDecl *D, bool PublicOnly) |
static void | parseEnumerators (EnumInfo &I, const EnumDecl *D) |
static void | parseParameters (FunctionInfo &I, const FunctionDecl *D) |
static void | parseBases (RecordInfo &I, const CXXRecordDecl *D) |
template<typename T > | |
static void | populateParentNamespaces (llvm::SmallVector< Reference, 4 > &Namespaces, const T *D) |
template<typename T > | |
static void | populateInfo (Info &I, const T *D, const FullComment *C) |
template<typename T > | |
static void | populateSymbolInfo (SymbolInfo &I, const T *D, const FullComment *C, int LineNumber, StringRef Filename) |
static void | populateFunctionInfo (FunctionInfo &I, const FunctionDecl *D, const FullComment *FC, int LineNumber, StringRef Filename) |
std::string | emitInfo (const NamespaceDecl *D, const FullComment *FC, int LineNumber, llvm::StringRef File, bool PublicOnly) |
std::string | emitInfo (const RecordDecl *D, const FullComment *FC, int LineNumber, llvm::StringRef File, bool PublicOnly) |
std::string | emitInfo (const FunctionDecl *D, const FullComment *FC, int LineNumber, llvm::StringRef File, bool PublicOnly) |
std::string | emitInfo (const CXXMethodDecl *D, const FullComment *FC, int LineNumber, llvm::StringRef File, bool PublicOnly) |
std::string | emitInfo (const EnumDecl *D, const FullComment *FC, int LineNumber, llvm::StringRef File, bool PublicOnly) |
std::string | emitInfo (const NamespaceDecl *D, const FullComment *FC, int LineNumber, StringRef File, bool PublicOnly) |
std::string | emitInfo (const RecordDecl *D, const FullComment *FC, int LineNumber, StringRef File, bool PublicOnly) |
std::string | emitInfo (const EnumDecl *D, const FullComment *FC, int LineNumber, StringRef File, bool PublicOnly) |
std::string | emitInfo (const FunctionDecl *D, const FullComment *FC, int LineNumber, StringRef File, bool PublicOnly) |
std::string | emitInfo (const CXXMethodDecl *D, const FullComment *FC, int LineNumber, StringRef File, bool PublicOnly) |
std::string clang::doc::serialize::emitInfo | ( | const NamespaceDecl * | D, |
const FullComment * | FC, | ||
int | LineNumber, | ||
StringRef | File, | ||
bool | PublicOnly | ||
) |
std::string clang::doc::serialize::emitInfo | ( | const RecordDecl * | D, |
const FullComment * | FC, | ||
int | LineNumber, | ||
StringRef | File, | ||
bool | PublicOnly | ||
) |
std::string clang::doc::serialize::emitInfo | ( | const EnumDecl * | D, |
const FullComment * | FC, | ||
int | LineNumber, | ||
StringRef | File, | ||
bool | PublicOnly | ||
) |
std::string clang::doc::serialize::emitInfo | ( | const FunctionDecl * | D, |
const FullComment * | FC, | ||
int | LineNumber, | ||
StringRef | File, | ||
bool | PublicOnly | ||
) |
std::string clang::doc::serialize::emitInfo | ( | const CXXMethodDecl * | D, |
const FullComment * | FC, | ||
int | LineNumber, | ||
StringRef | File, | ||
bool | PublicOnly | ||
) |
std::string clang::doc::serialize::emitInfo | ( | const NamespaceDecl * | D, |
const FullComment * | FC, | ||
int | LineNumber, | ||
llvm::StringRef | File, | ||
bool | PublicOnly | ||
) |
Definition at line 309 of file Serialize.cpp.
References isPublic(), populateInfo(), and serialize().
std::string clang::doc::serialize::emitInfo | ( | const RecordDecl * | D, |
const FullComment * | FC, | ||
int | LineNumber, | ||
llvm::StringRef | File, | ||
bool | PublicOnly | ||
) |
Definition at line 319 of file Serialize.cpp.
References isPublic(), parseBases(), parseFields(), populateSymbolInfo(), serialize(), and clang::doc::RecordInfo::TagType.
std::string clang::doc::serialize::emitInfo | ( | const FunctionDecl * | D, |
const FullComment * | FC, | ||
int | LineNumber, | ||
llvm::StringRef | File, | ||
bool | PublicOnly | ||
) |
Definition at line 332 of file Serialize.cpp.
References clang::doc::FunctionInfo::Access, isPublic(), populateFunctionInfo(), and serialize().
std::string clang::doc::serialize::emitInfo | ( | const CXXMethodDecl * | D, |
const FullComment * | FC, | ||
int | LineNumber, | ||
llvm::StringRef | File, | ||
bool | PublicOnly | ||
) |
Definition at line 342 of file Serialize.cpp.
References clang::doc::FunctionInfo::Access, getUSRForDecl(), clang::doc::FunctionInfo::IsMethod, isPublic(), clang::doc::IT_record, clang::doc::FunctionInfo::Parent, populateFunctionInfo(), and serialize().
std::string clang::doc::serialize::emitInfo | ( | const EnumDecl * | D, |
const FullComment * | FC, | ||
int | LineNumber, | ||
llvm::StringRef | File, | ||
bool | PublicOnly | ||
) |
Definition at line 355 of file Serialize.cpp.
References isPublic(), parseEnumerators(), populateSymbolInfo(), clang::doc::EnumInfo::Scoped, and serialize().
|
static |
Definition at line 167 of file Serialize.cpp.
Referenced by parseBases(), parseFields(), parseParameters(), and populateFunctionInfo().
|
static |
Definition at line 160 of file Serialize.cpp.
References hashUSR().
Referenced by emitInfo(), parseBases(), parseFields(), parseParameters(), populateFunctionInfo(), populateInfo(), and populateParentNamespaces().
SymbolID clang::doc::serialize::hashUSR | ( | llvm::StringRef | USR | ) |
Definition at line 24 of file Serialize.cpp.
Referenced by getUSRForDecl().
|
static |
Definition at line 174 of file Serialize.cpp.
Referenced by emitInfo(), and parseFields().
|
static |
Definition at line 231 of file Serialize.cpp.
References getDeclForType(), getUSRForDecl(), clang::doc::IT_record, clang::doc::RecordInfo::Parents, and clang::doc::RecordInfo::VirtualParents.
Referenced by emitInfo().
|
static |
Definition at line 208 of file Serialize.cpp.
References clang::doc::EnumInfo::Members.
Referenced by emitInfo().
|
static |
Definition at line 184 of file Serialize.cpp.
References getDeclForType(), getUSRForDecl(), isPublic(), clang::doc::IT_enum, clang::doc::IT_record, and clang::doc::RecordInfo::Members.
Referenced by emitInfo().
|
static |
Definition at line 155 of file Serialize.cpp.
References clang::doc::serialize::ClangDocCommentVisitor::parseComment().
Referenced by populateInfo().
|
static |
Definition at line 213 of file Serialize.cpp.
References getDeclForType(), getUSRForDecl(), clang::doc::IT_enum, clang::doc::IT_record, and clang::doc::FunctionInfo::Params.
Referenced by populateFunctionInfo().
|
static |
Definition at line 292 of file Serialize.cpp.
References getDeclForType(), getUSRForDecl(), clang::doc::IT_enum, clang::doc::IT_record, parseParameters(), populateSymbolInfo(), and clang::doc::FunctionInfo::ReturnType.
Referenced by emitInfo().
|
static |
Definition at line 272 of file Serialize.cpp.
References clang::doc::Info::Description, getUSRForDecl(), clang::doc::Info::Name, clang::doc::Info::Namespace, parseFullComment(), populateParentNamespaces(), and clang::doc::Info::USR.
Referenced by emitInfo(), and populateSymbolInfo().
|
static |
Definition at line 252 of file Serialize.cpp.
References getUSRForDecl(), clang::doc::IT_enum, clang::doc::IT_function, clang::doc::IT_namespace, and clang::doc::IT_record.
Referenced by populateInfo().
|
static |
Definition at line 283 of file Serialize.cpp.
References clang::doc::SymbolInfo::DefLoc, clang::doc::SymbolInfo::Loc, and populateInfo().
Referenced by emitInfo(), and populateFunctionInfo().
|
static |
Definition at line 147 of file Serialize.cpp.
References clang::doc::ClangDocBitcodeWriter::emitBlock().
Referenced by emitInfo().