clang  8.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/ParsedAttr.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 574 of file ParsedAttr.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
AvailabilityAllocSize 
TypeTagForDatatypeAllocSize 
PropertyAllocSize 

Definition at line 576 of file ParsedAttr.h.

Constructor & Destructor Documentation

◆ AttributeFactory()

AttributeFactory::AttributeFactory ( )

Definition at line 52 of file ParsedAttr.cpp.

References ~AttributeFactory().

◆ ~AttributeFactory()

AttributeFactory::~AttributeFactory ( )
default

Referenced by AttributeFactory().

Friends And Related Function Documentation

◆ AttributePool

friend class AttributePool
friend

Definition at line 609 of file ParsedAttr.h.


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