LLVM  14.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 ()
 
char * allocUnalignedBuffer (size_t Size)
 
template<typename T , typename... Args>
T * allocArray (size_t Count)
 
template<typename T , typename... Args>
T * alloc (Args &&... ConstructorArgs)
 

Detailed Description

Definition at line 28 of file MicrosoftDemangle.h.

Constructor & Destructor Documentation

◆ ArenaAllocator()

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

Definition at line 46 of file MicrosoftDemangle.h.

References llvm::ms_demangle::AllocUnit.

◆ ~ArenaAllocator()

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

Definition at line 48 of file MicrosoftDemangle.h.

References assert().

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

◆ allocUnalignedBuffer()

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

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