LLVM 22.0.0git
llvm::codeview::TypeTableCollection Class Reference

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

Inheritance diagram for llvm::codeview::TypeTableCollection:
[legend]

Public Member Functions

 TypeTableCollection (ArrayRef< ArrayRef< uint8_t > > Records)
std::optional< TypeIndexgetFirst () override
std::optional< TypeIndexgetNext (TypeIndex Prev) override
CVType getType (TypeIndex Index) override
StringRef getTypeName (TypeIndex Index) override
bool contains (TypeIndex Index) override
uint32_t size () override
uint32_t capacity () override
bool replaceType (TypeIndex &Index, CVType Data, bool Stabilize) override
Public Member Functions inherited from llvm::codeview::TypeCollection
virtual ~TypeCollection ()=default
bool empty ()
template<typename TFunc>
void ForEachRecord (TFunc Func)

Detailed Description

Definition at line 21 of file TypeTableCollection.h.

Constructor & Destructor Documentation

◆ TypeTableCollection()

TypeTableCollection::TypeTableCollection ( ArrayRef< ArrayRef< uint8_t > > Records)
explicit

Definition at line 18 of file TypeTableCollection.cpp.

Member Function Documentation

◆ capacity()

uint32_t TypeTableCollection::capacity ( )
overridevirtual

Implements llvm::codeview::TypeCollection.

Definition at line 60 of file TypeTableCollection.cpp.

◆ contains()

bool TypeTableCollection::contains ( TypeIndex Index)
overridevirtual

Implements llvm::codeview::TypeCollection.

Definition at line 54 of file TypeTableCollection.cpp.

References size().

Referenced by getNext().

◆ getFirst()

std::optional< TypeIndex > TypeTableCollection::getFirst ( )
overridevirtual

◆ getNext()

std::optional< TypeIndex > TypeTableCollection::getNext ( TypeIndex Prev)
overridevirtual

◆ getType()

CVType TypeTableCollection::getType ( TypeIndex Index)
overridevirtual

Implements llvm::codeview::TypeCollection.

Definition at line 37 of file TypeTableCollection.cpp.

References assert().

◆ getTypeName()

StringRef TypeTableCollection::getTypeName ( TypeIndex Index)
overridevirtual

◆ replaceType()

bool TypeTableCollection::replaceType ( TypeIndex & Index,
CVType Data,
bool Stabilize )
overridevirtual

Implements llvm::codeview::TypeCollection.

Definition at line 62 of file TypeTableCollection.cpp.

References llvm::Data, and llvm_unreachable.

◆ size()

uint32_t TypeTableCollection::size ( )
overridevirtual

Implements llvm::codeview::TypeCollection.

Definition at line 58 of file TypeTableCollection.cpp.

Referenced by contains(), and getNext().


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