clang 20.0.0git
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 639 of file ParsedAttr.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
AvailabilityAllocSize 
TypeTagForDatatypeAllocSize 
PropertyAllocSize 

Definition at line 641 of file ParsedAttr.h.

Constructor & Destructor Documentation

◆ AttributeFactory()

AttributeFactory::AttributeFactory ( )

Definition at line 51 of file ParsedAttr.cpp.

◆ ~AttributeFactory()

AttributeFactory::~AttributeFactory ( )
default

Friends And Related Function Documentation

◆ AttributePool

friend class AttributePool
friend

Definition at line 674 of file ParsedAttr.h.


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