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

#include "llvm/Demangle/MicrosoftDemangle.h"

Public Member Functions

 ArenaAllocator ()
 
 ~ArenaAllocator ()
 
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 28 of file MicrosoftDemangle.h.

Constructor & Destructor Documentation

◆ ArenaAllocator()

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

Definition at line 46 of file MicrosoftDemangle.h.

◆ ~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

Definition at line 72 of file MicrosoftDemangle.h.

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

Referenced by nodeListToNodeArray(), and synthesizeQualifiedName().

◆ allocUnalignedBuffer()

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

Definition at line 58 of file MicrosoftDemangle.h.

References assert(), llvm::max(), P, and Size.


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