clang-tools 22.0.0git
BitcodeWriter.cpp File Reference
#include "BitcodeWriter.h"
#include "llvm/ADT/IndexedMap.h"
#include <initializer_list>

Go to the source code of this file.

Classes

struct  clang::doc::BlockIdToIndexFunctor
struct  clang::doc::RecordIdToIndexFunctor
struct  clang::doc::RecordIdDsc

Namespaces

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

Typedefs

using clang::doc::AbbrevDsc = void (*)(std::shared_ptr<llvm::BitCodeAbbrev> &Abbrev)

Functions

static void clang::doc::generateAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev, const std::initializer_list< llvm::BitCodeAbbrevOp > Ops)
static void clang::doc::genBoolAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev)
static void clang::doc::genIntAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev)
static void clang::doc::genSymbolIdAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev)
static void clang::doc::genStringAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev)
static void clang::doc::genLocationAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev)

Variables

static const SymbolID clang::doc::EmptySID = SymbolID()
static const llvm::IndexedMap< llvm::StringRef, BlockIdToIndexFunctorclang::doc::BlockIdNameMap
static const llvm::IndexedMap< RecordIdDsc, RecordIdToIndexFunctorclang::doc::RecordIdNameMap
static const std::vector< std::pair< BlockId, std::vector< RecordId > > > clang::doc::RecordsByBlock