clang-tools 23.0.0git
Representation.cpp File Reference
#include "Representation.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/Path.h"

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::doc

Functions

ConcurrentStringPoolclang::doc::getGlobalStringPool ()
CommentKind clang::doc::stringToCommentKind (llvm::StringRef KindStr)
llvm::StringRef clang::doc::commentKindToString (CommentKind Kind)
template<typename T>
static llvm::Expected< Info * > clang::doc::reduce (SmallVectorImpl< Info * > &Values)
template<typename T>
static void clang::doc::reduceChildren (DocList< T > &Children, DocList< T > &&ChildrenToMerge)
template<>
void clang::doc::reduceChildren< Reference > (DocList< Reference > &Children, DocList< Reference > &&ChildrenToMerge)
template<typename T>
static void clang::doc::mergeUnkeyed (DocList< T > &Target, DocList< T > &&Source)
template<>
void clang::doc::mergeUnkeyed< CommentInfo > (DocList< CommentInfo > &Target, DocList< CommentInfo > &&Source)
llvm::Error clang::doc::mergeSingleInfo (doc::Info *&Reduced, doc::Info *NewInfo, llvm::BumpPtrAllocator &Arena)
llvm::Expected< Info * > clang::doc::mergeInfos (SmallVectorImpl< Info * > &Values)
static llvm::SmallString< 64 > clang::doc::calculateRelativeFilePath (const InfoType &Type, const StringRef &Path, const StringRef &Name, const StringRef &CurrentPath)

Variables

thread_local llvm::BumpPtrAllocator clang::doc::TransientArena
thread_local llvm::BumpPtrAllocator clang::doc::PersistentArena
const SymbolID clang::doc::EmptySID = SymbolID()