LLVM  8.0.1
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 Length)
 
template<typename T , typename... Args>
TallocArray (size_t Count)
 
template<typename T , typename... Args>
Talloc (Args &&... ConstructorArgs)
 

Detailed Description

Definition at line 29 of file MicrosoftDemangle.h.

Constructor & Destructor Documentation

◆ ArenaAllocator()

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

Definition at line 47 of file MicrosoftDemangle.h.

◆ ~ArenaAllocator()

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

Definition at line 49 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 75 of file MicrosoftDemangle.h.

References assert(), P, Size, and T.

Referenced by nodeListToNodeArray(), and synthesizeQualifiedName().

◆ allocUnalignedBuffer()

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

Definition at line 59 of file MicrosoftDemangle.h.

References llvm::max().


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