clang
7.0.0
|
A factory, from which one makes pools, from which one creates individual attributes which are deallocated with the pool. More...
#include "clang/Sema/ParsedAttr.h"
Public Types | |
enum | { AvailabilityAllocSize, TypeTagForDatatypeAllocSize, PropertyAllocSize } |
Public Member Functions | |
AttributeFactory () | |
~AttributeFactory () | |
Friends | |
class | AttributePool |
A factory, from which one makes pools, from which one creates individual attributes which are deallocated with the pool.
Note that it's tolerably cheap to create and destroy one of these as long as you don't actually allocate anything in it.
Definition at line 552 of file ParsedAttr.h.
anonymous enum |
Enumerator | |
---|---|
AvailabilityAllocSize | The required allocation size of an availability attribute, which we want to ensure is a multiple of sizeof(void*). |
TypeTagForDatatypeAllocSize | |
PropertyAllocSize |
Definition at line 554 of file ParsedAttr.h.
AttributeFactory::AttributeFactory | ( | ) |
Definition at line 48 of file ParsedAttr.cpp.
References ~AttributeFactory().
|
default |
Referenced by AttributeFactory().
|
friend |
Definition at line 589 of file ParsedAttr.h.