clang  6.0.0svn
Public Types | Public Member Functions | Friends | List of all members
clang::AttributeFactory Class Reference

A factory, from which one makes pools, from which one creates individual attributes which are deallocated with the pool. More...

#include "clang/Sema/AttributeList.h"

Public Types

enum  { AvailabilityAllocSize, TypeTagForDatatypeAllocSize, PropertyAllocSize }
 

Public Member Functions

 AttributeFactory ()
 
 ~AttributeFactory ()
 

Friends

class AttributePool
 

Detailed Description

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 542 of file AttributeList.h.

Member Enumeration Documentation

◆ anonymous enum

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 544 of file AttributeList.h.

Constructor & Destructor Documentation

◆ AttributeFactory()

AttributeFactory::AttributeFactory ( )

Definition at line 43 of file AttributeList.cpp.

◆ ~AttributeFactory()

AttributeFactory::~AttributeFactory ( )

Definition at line 47 of file AttributeList.cpp.

Friends And Related Function Documentation

◆ AttributePool

friend class AttributePool
friend

Definition at line 580 of file AttributeList.h.


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