clang: clang::AttributePool Class Reference (original) (raw)

#include "[clang/Sema/ParsedAttr.h](ParsedAttr%5F8h%5Fsource.html)"

Public Member Functions
AttributePool (AttributeFactory &factory)
Create a new pool for a factory.
AttributePool (const AttributePool &)=delete
AttributePool & operator= (const AttributePool &)=delete
~AttributePool ()
AttributePool (AttributePool &&pool)=default
Move the given pool's allocations to this pool.
AttributePool & operator= (AttributePool &&pool)=delete
AttributeFactory & getFactory () const
void clear ()
void takeAllFrom (AttributePool &pool)
Take the given pool's allocations and add them to this pool.
void takeFrom (ParsedAttributesView &List, AttributePool &Pool)
Removes the attributes from List, which are owned by Pool, and adds them at the end of this AttributePool.
ParsedAttr * create (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, ArgsUnion *args, unsigned numArgs, ParsedAttr::Form form, SourceLocation ellipsisLoc=SourceLocation())
ParsedAttr * create (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierLoc *Param, const AvailabilityChange &introduced, const AvailabilityChange &deprecated, const AvailabilityChange &obsoleted, SourceLocation unavailable, const Expr *MessageExpr, ParsedAttr::Form form, SourceLocation strict, const Expr *ReplacementExpr, IdentifierLoc *EnvironmentLoc)
ParsedAttr * create (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierLoc *Param1, IdentifierLoc *Param2, IdentifierLoc *Param3, ParsedAttr::Form form)
ParsedAttr * createTypeTagForDatatype (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierLoc *argumentKind, ParsedType matchingCType, bool layoutCompatible, bool mustBeNull, ParsedAttr::Form form)
ParsedAttr * createTypeAttribute (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, ParsedType typeArg, ParsedAttr::Form formUsed, SourceLocation ellipsisLoc)
ParsedAttr * createPropertyAttribute (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierInfo *getterId, IdentifierInfo *setterId, ParsedAttr::Form formUsed)

Definition at line 692 of file ParsedAttr.h.

Create a new pool for a factory.

Definition at line 717 of file ParsedAttr.h.

AttributePool() [2/3]

clang::AttributePool::AttributePool ( const AttributePool & ) delete

~AttributePool()

clang::AttributePool::~AttributePool ( ) inline

AttributePool() [3/3]

clang::AttributePool::AttributePool ( AttributePool && pool) default

Move the given pool's allocations to this pool.

clear()

void clang::AttributePool::clear ( ) inline

create() [1/3]

create() [2/3]

ParsedAttr * clang::AttributePool::create ( IdentifierInfo * attrName, SourceRange attrRange, IdentifierInfo * scopeName, SourceLocation scopeLoc, IdentifierLoc * Param, const AvailabilityChange & introduced, const AvailabilityChange & deprecated, const AvailabilityChange & obsoleted, SourceLocation unavailable, const Expr * MessageExpr, ParsedAttr::Form form, SourceLocation strict, const Expr * ReplacementExpr, IdentifierLoc * EnvironmentLoc ) inline

create() [3/3]

createPropertyAttribute()

createTypeAttribute()

createTypeTagForDatatype()

getFactory()

operator=() [1/2]

operator=() [2/2]

takeAllFrom()

void clang::AttributePool::takeAllFrom ( AttributePool & pool) inline

takeFrom()

AttributeFactory

ParsedAttributes


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