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, IdentifierInfo *parmName, SourceLocation parmLoc, Expr **args, unsigned numArgs, bool declspec=false, bool cxx0x=false)
AttributeListcreate (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierInfo *parmName, SourceLocation parmLoc, const AvailabilityChange &introduced, const AvailabilityChange &deprecated, const AvailabilityChange &obsoleted, SourceLocation unavailable, const Expr *MessageExpr, bool declspec=false, bool cxx0x=false)
AttributeListcreateIntegerAttribute (ASTContext &C, IdentifierInfo *Name, SourceLocation TokLoc, int Arg)

Detailed Description

Definition at line 324 of file AttributeList.h.


Constructor & Destructor Documentation

clang::AttributePool::AttributePool ( AttributeFactory factory) [inline]

Create a new pool for a factory.

Definition at line 343 of file AttributeList.h.

clang::AttributePool::AttributePool ( AttributePool pool) [inline]

Move the given pool's allocations to this pool.

Definition at line 346 of file AttributeList.h.

clang::AttributePool::~AttributePool ( ) [inline]

Definition at line 367 of file AttributeList.h.


Member Function Documentation

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

Definition at line 352 of file AttributeList.h.

AttributeList* clang::AttributePool::create ( IdentifierInfo attrName,
SourceRange  attrRange,
IdentifierInfo scopeName,
SourceLocation  scopeLoc,
IdentifierInfo parmName,
SourceLocation  parmLoc,
Expr **  args,
unsigned  numArgs,
bool  declspec = false,
bool  cxx0x = false 
) [inline]
AttributeList* clang::AttributePool::create ( IdentifierInfo attrName,
SourceRange  attrRange,
IdentifierInfo scopeName,
SourceLocation  scopeLoc,
IdentifierInfo parmName,
SourceLocation  parmLoc,
const AvailabilityChange introduced,
const AvailabilityChange deprecated,
const AvailabilityChange obsoleted,
SourceLocation  unavailable,
const Expr MessageExpr,
bool  declspec = false,
bool  cxx0x = false 
) [inline]

Definition at line 385 of file AttributeList.h.

References clang::AttributeFactory::AvailabilityAllocSize.

AttributeList * AttributePool::createIntegerAttribute ( ASTContext C,
IdentifierInfo Name,
SourceLocation  TokLoc,
int  Arg 
)
AttributeFactory& clang::AttributePool::getFactory ( ) const [inline]

Definition at line 350 of file AttributeList.h.

void clang::AttributePool::takeAllFrom ( AttributePool pool) [inline]

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

Definition at line 360 of file AttributeList.h.

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


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