|
clang 22.0.0git
|
An allocator for DiagnosticStorage objects, which uses a small cache to objects, used to reduce malloc()/free() traffic for partial diagnostics. More...
#include "clang/Basic/Diagnostic.h"
Public Member Functions | |
| DiagStorageAllocator () | |
| ~DiagStorageAllocator () | |
| DiagnosticStorage * | Allocate () |
| Allocate new storage. | |
| void | Deallocate (DiagnosticStorage *S) |
| Free the given storage object. | |
An allocator for DiagnosticStorage objects, which uses a small cache to objects, used to reduce malloc()/free() traffic for partial diagnostics.
Definition at line 193 of file Diagnostic.h.
| DiagStorageAllocator::DiagStorageAllocator | ( | ) |
Definition at line 1461 of file Diagnostic.cpp.
| DiagStorageAllocator::~DiagStorageAllocator | ( | ) |
Definition at line 1467 of file Diagnostic.cpp.
|
inline |
|
inline |
Free the given storage object.
Definition at line 216 of file Diagnostic.h.