ΒΆvoid deallocate_buffer(void* Ptr,
                       size_t Size,
                       size_t Alignment)

Description

Deallocate a buffer of memory with the given size and alignment. If supported, this will used the sized delete operator. Also if supported, this will pass the alignment to the delete operator. The pointer must have been allocated with the corresponding new operator, most likely using the above helper.

Declared at: llvm/include/llvm/Support/MemAlloc.h:84

Parameters

void* Ptr
size_t Size
size_t Alignment