clang-tools 8.0.0

Classes | Namespaces | Functions
Serialize.cpp File Reference
`#include "Serialize.h"`
`#include "BitcodeWriter.h"`
`#include "clang/AST/Comment.h"`
`#include "clang/Index/USRGeneration.h"`
`#include "llvm/ADT/Hashing.h"`
`#include "llvm/ADT/StringExtras.h"`
`#include "llvm/Support/SHA1.h"`
Include dependency graph for Serialize.cpp:

Go to the source code of this file.

## Classes
class | clang::doc::serialize::ClangDocCommentVisitor

## Namespaces
| clang
| ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
| clang::doc
| clang::doc::serialize

## Functions
SymbolID | clang::doc::serialize::hashUSR (llvm::StringRef USR)
template<typename T >
static std::string | clang::doc::serialize::serialize (T &I)
std::string | clang::doc::serialize::serialize (std::unique_ptr< Info > &I)
static void | clang::doc::serialize::parseFullComment (const FullComment *C, CommentInfo &CI)
static SymbolID | clang::doc::serialize::getUSRForDecl (const Decl *D)
static RecordDecl * | clang::doc::serialize::getDeclForType (const QualType &T)
static bool | clang::doc::serialize::isPublic (const clang::AccessSpecifier AS, const clang::Linkage Link)
static void | clang::doc::serialize::parseFields (RecordInfo &I, const RecordDecl *D, bool PublicOnly)
static void | clang::doc::serialize::parseEnumerators (EnumInfo &I, const EnumDecl *D)
static void | clang::doc::serialize::parseParameters (FunctionInfo &I, const FunctionDecl *D)
static void | clang::doc::serialize::parseBases (RecordInfo &I, const CXXRecordDecl *D)
template<typename T >
static void | clang::doc::serialize::populateParentNamespaces (llvm::SmallVector< Reference, 4 > &Namespaces, const T *D)
template<typename T >
static void | clang::doc::serialize::populateInfo (Info &I, const T *D, const FullComment *C)
template<typename T >
static void | clang::doc::serialize::populateSymbolInfo (SymbolInfo &I, const T *D, const FullComment *C, int LineNumber, StringRef Filename)
static void | clang::doc::serialize::populateFunctionInfo (FunctionInfo &I, const FunctionDecl *D, const FullComment *FC, int LineNumber, StringRef Filename)
std::unique_ptr< Info > | clang::doc::serialize::emitInfo (const NamespaceDecl *D, const FullComment *FC, int LineNumber, llvm::StringRef File, bool PublicOnly)
std::unique_ptr< Info > | clang::doc::serialize::emitInfo (const RecordDecl *D, const FullComment *FC, int LineNumber, llvm::StringRef File, bool PublicOnly)
std::unique_ptr< Info > | clang::doc::serialize::emitInfo (const FunctionDecl *D, const FullComment *FC, int LineNumber, llvm::StringRef File, bool PublicOnly)
std::unique_ptr< Info > | clang::doc::serialize::emitInfo (const CXXMethodDecl *D, const FullComment *FC, int LineNumber, llvm::StringRef File, bool PublicOnly)
std::unique_ptr< Info > | clang::doc::serialize::emitInfo (const EnumDecl *D, const FullComment *FC, int LineNumber, llvm::StringRef File, bool PublicOnly)