clang API Documentation

Public Member Functions
clang::AttributePool Class Reference

#include <AttributeList.h>

List of all members.

Public Member Functions

 AttributePool (AttributeFactory &factory)
 Create a new pool for a factory.
 AttributePool (AttributePool &pool)
 Move the given pool's allocations to this pool.
AttributeFactory & getFactory () const
void clear ()
void takeAllFrom (AttributePool &pool)
 Take the given pool's allocations and add them to this pool.
 ~AttributePool ()
AttributeList * create (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, ArgsUnion *args, unsigned numArgs, AttributeList::Syntax syntax, SourceLocation ellipsisLoc=SourceLocation())
AttributeList * 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, AttributeList::Syntax syntax)
AttributeList * create (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierLoc *Param1, IdentifierLoc *Param2, IdentifierLoc *Param3, AttributeList::Syntax syntax)
AttributeList * createTypeTagForDatatype (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierLoc *argumentKind, ParsedType matchingCType, bool layoutCompatible, bool mustBeNull, AttributeList::Syntax syntax)
AttributeList * createTypeAttribute (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, ParsedType typeArg, AttributeList::Syntax syntaxUsed)
AttributeList * createPropertyAttribute (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierInfo *getterId, IdentifierInfo *setterId, AttributeList::Syntax syntaxUsed)

Detailed Description

Definition at line 533 of file AttributeList.h.


Constructor & Destructor Documentation

Create a new pool for a factory.

Definition at line 552 of file AttributeList.h.

Move the given pool's allocations to this pool.

Definition at line 555 of file AttributeList.h.

Definition at line 576 of file AttributeList.h.


Member Function Documentation

void clang::AttributePool::clear ( ) [inline]

Definition at line 561 of file AttributeList.h.

AttributeList* clang::AttributePool::create ( IdentifierInfo *  attrName,
SourceRange  attrRange,
IdentifierInfo *  scopeName,
SourceLocation  scopeLoc,
ArgsUnion *  args,
unsigned  numArgs,
AttributeList::Syntax  syntax,
SourceLocation  ellipsisLoc = SourceLocation() 
) [inline]

Definition at line 580 of file AttributeList.h.

Referenced by transferARCOwnershipToDeclaratorChunk().

AttributeList* 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,
AttributeList::Syntax  syntax 
) [inline]

Definition at line 593 of file AttributeList.h.

References clang::AttributeFactory::AvailabilityAllocSize.

AttributeList* clang::AttributePool::create ( IdentifierInfo *  attrName,
SourceRange  attrRange,
IdentifierInfo *  scopeName,
SourceLocation  scopeLoc,
IdentifierLoc *  Param1,
IdentifierLoc *  Param2,
IdentifierLoc *  Param3,
AttributeList::Syntax  syntax 
) [inline]

Definition at line 610 of file AttributeList.h.

AttributeList* clang::AttributePool::createPropertyAttribute ( IdentifierInfo *  attrName,
SourceRange  attrRange,
IdentifierInfo *  scopeName,
SourceLocation  scopeLoc,
IdentifierInfo *  getterId,
IdentifierInfo *  setterId,
AttributeList::Syntax  syntaxUsed 
) [inline]

Definition at line 648 of file AttributeList.h.

References clang::AttributeFactory::PropertyAllocSize.

AttributeList* clang::AttributePool::createTypeAttribute ( IdentifierInfo *  attrName,
SourceRange  attrRange,
IdentifierInfo *  scopeName,
SourceLocation  scopeLoc,
ParsedType  typeArg,
AttributeList::Syntax  syntaxUsed 
) [inline]

Definition at line 638 of file AttributeList.h.

AttributeList* clang::AttributePool::createTypeTagForDatatype ( IdentifierInfo *  attrName,
SourceRange  attrRange,
IdentifierInfo *  scopeName,
SourceLocation  scopeLoc,
IdentifierLoc *  argumentKind,
ParsedType  matchingCType,
bool  layoutCompatible,
bool  mustBeNull,
AttributeList::Syntax  syntax 
) [inline]

Definition at line 559 of file AttributeList.h.

Referenced by clang::Sema::ActOnCXXForRangeIdentifier().

Take the given pool's allocations and add them to this pool.

Definition at line 569 of file AttributeList.h.

Referenced by clang::Declarator::AddTypeInfo(), and takeDeclAttributes().


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