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.
AttributeFactorygetFactory () const
void clear ()
void takeAllFrom (AttributePool &pool)
 Take the given pool's allocations and add them to this pool.
 ~AttributePool ()
AttributeListcreate (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, ArgsUnion *args, unsigned numArgs, AttributeList::Syntax syntax, SourceLocation ellipsisLoc=SourceLocation())
AttributeListcreate (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)
AttributeListcreate (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierLoc *Param1, IdentifierLoc *Param2, IdentifierLoc *Param3, AttributeList::Syntax syntax)
AttributeListcreateTypeTagForDatatype (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierLoc *argumentKind, ParsedType matchingCType, bool layoutCompatible, bool mustBeNull, AttributeList::Syntax syntax)
AttributeListcreateTypeAttribute (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, ParsedType typeArg, AttributeList::Syntax syntaxUsed)
AttributeListcreatePropertyAttribute (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: