LLVM 20.0.0git
Classes | Public Member Functions | List of all members
llvm::ms_demangle::ArenaAllocator Class Reference

#include "llvm/Demangle/MicrosoftDemangle.h"

Public Member Functions

 ArenaAllocator ()
 
 ~ArenaAllocator ()
 
 ArenaAllocator (const ArenaAllocator &)=delete
 
ArenaAllocatoroperator= (const ArenaAllocator &)=delete
 
charallocUnalignedBuffer (size_t Size)
 
template<typename T , typename... Args>
TallocArray (size_t Count)
 
template<typename T , typename... Args>
Talloc (Args &&... ConstructorArgs)
 

Detailed Description

Definition at line 27 of file MicrosoftDemangle.h.

Constructor & Destructor Documentation

◆ ArenaAllocator() [1/2]

llvm::ms_demangle::ArenaAllocator::ArenaAllocator ( )
inline

Definition at line 45 of file MicrosoftDemangle.h.

References llvm::ms_demangle::AllocUnit.

◆ ~ArenaAllocator()

llvm::ms_demangle::ArenaAllocator::~ArenaAllocator ( )
inline

Definition at line 47 of file MicrosoftDemangle.h.

References assert().

◆ ArenaAllocator() [2/2]

llvm::ms_demangle::ArenaAllocator::ArenaAllocator ( const ArenaAllocator )
delete

Member Function Documentation

◆ alloc()

template<typename T , typename... Args>
T * llvm::ms_demangle::ArenaAllocator::alloc ( Args &&...  ConstructorArgs)
inline

◆ allocArray()

template<typename T , typename... Args>
T * llvm::ms_demangle::ArenaAllocator::allocArray ( size_t  Count)
inline

Definition at line 75 of file MicrosoftDemangle.h.

References llvm::ms_demangle::AllocUnit, assert(), P, Size, and T.

Referenced by nodeListToNodeArray(), and synthesizeQualifiedName().

◆ allocUnalignedBuffer()

char * llvm::ms_demangle::ArenaAllocator::allocUnalignedBuffer ( size_t  Size)
inline

Definition at line 61 of file MicrosoftDemangle.h.

References llvm::ms_demangle::AllocUnit, assert(), P, and Size.

◆ operator=()

ArenaAllocator & llvm::ms_demangle::ArenaAllocator::operator= ( const ArenaAllocator )
delete

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