clang API Documentation

Public Member Functions
clang::PartialDiagnostic::StorageAllocator Class Reference

An allocator for Storage objects, which uses a small cache to objects, used to reduce malloc()/free() traffic for partial diagnostics. More...

#include <PartialDiagnostic.h>

List of all members.

Public Member Functions

 StorageAllocator ()
 ~StorageAllocator ()
StorageAllocate ()
 Allocate new storage.
void Deallocate (Storage *S)
 Free the given storage object.

Detailed Description

An allocator for Storage objects, which uses a small cache to objects, used to reduce malloc()/free() traffic for partial diagnostics.

Definition at line 78 of file PartialDiagnostic.h.


Constructor & Destructor Documentation

Definition at line 976 of file Diagnostic.cpp.

Definition at line 982 of file Diagnostic.cpp.


Member Function Documentation

Free the given storage object.

Definition at line 101 of file PartialDiagnostic.h.

References S.


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