LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::codeview::TypeTableBuilder Class Reference

#include "llvm/DebugInfo/CodeView/TypeTableBuilder.h"

Public Member Functions

 TypeTableBuilder (BumpPtrAllocator &Allocator, bool WriteUnique=true)
 
 TypeTableBuilder (const TypeTableBuilder &)=delete
 
TypeTableBuilderoperator= (const TypeTableBuilder &)=delete
 
bool empty () const
 
BumpPtrAllocatorgetAllocator () const
 
template<typename T >
TypeIndex writeKnownType (T &Record)
 
TypeIndex writeSerializedRecord (ArrayRef< uint8_t > Record)
 
TypeIndex writeSerializedRecord (const RemappedType &Record)
 
template<typename TFunc >
void ForEachRecord (TFunc Func)
 
ArrayRef< ArrayRef< uint8_t > > records () const
 

Detailed Description

Definition at line 28 of file TypeTableBuilder.h.

Constructor & Destructor Documentation

◆ TypeTableBuilder() [1/2]

llvm::codeview::TypeTableBuilder::TypeTableBuilder ( BumpPtrAllocator Allocator,
bool  WriteUnique = true 
)
inlineexplicit

Definition at line 40 of file TypeTableBuilder.h.

References operator=().

◆ TypeTableBuilder() [2/2]

llvm::codeview::TypeTableBuilder::TypeTableBuilder ( const TypeTableBuilder )
delete

Member Function Documentation

◆ empty()

bool llvm::codeview::TypeTableBuilder::empty ( ) const
inline

Definition at line 46 of file TypeTableBuilder.h.

References llvm::codeview::TypeSerializer::records().

◆ ForEachRecord()

template<typename TFunc >
void llvm::codeview::TypeTableBuilder::ForEachRecord ( TFunc  Func)
inline

◆ getAllocator()

BumpPtrAllocator& llvm::codeview::TypeTableBuilder::getAllocator ( ) const
inline

Definition at line 48 of file TypeTableBuilder.h.

◆ operator=()

TypeTableBuilder& llvm::codeview::TypeTableBuilder::operator= ( const TypeTableBuilder )
delete

Referenced by TypeTableBuilder().

◆ records()

ArrayRef<ArrayRef<uint8_t> > llvm::codeview::TypeTableBuilder::records ( ) const
inline

◆ writeKnownType()

template<typename T >
TypeIndex llvm::codeview::TypeTableBuilder::writeKnownType ( T Record)
inline

◆ writeSerializedRecord() [1/2]

TypeIndex llvm::codeview::TypeTableBuilder::writeSerializedRecord ( ArrayRef< uint8_t >  Record)
inline

◆ writeSerializedRecord() [2/2]

TypeIndex llvm::codeview::TypeTableBuilder::writeSerializedRecord ( const RemappedType Record)
inline

Definition at line 72 of file TypeTableBuilder.h.

References llvm::codeview::TypeSerializer::insertRecord().


The documentation for this class was generated from the following file: