llvm::Recycler::clear

Release all tracked allocations to the allocator.

Synopsis

Declared in <llvm/Support/Recycler.h>

template<class AllocatorType>
void
clear(AllocatorType& Allocator);

Description

The recycler must be free of any tracked allocations before being deleted; calling clear is one way to ensure this.

Parameters

NameDescription
AllocatorThe allocator that originally provided the blocks.