#include <AttribDecl.h>
Public Member Functions | |
attrib::AttributeID | getAttributeID () const |
Returns the AttributeID associated with this expression. | |
const PrimaryType * | getPrefix () const |
PrimaryType * | getPrefix () |
Static Public Member Functions | |
static bool | classof (const FunctionAttribDecl *node) |
Support isa and dyn_cast. | |
static bool | classof (const Ast *node) |
Protected Member Functions | |
FunctionAttribDecl (AstKind kind, PrimaryType *prefix, IdentifierInfo *name, Location loc, IdentifierInfo **keywords, FunctionType *type, DeclRegion *parent) |
This simple class provides a common root for all attributes which denote functions.
Definition at line 21 of file AttribDecl.h.
comma::FunctionAttribDecl::FunctionAttribDecl | ( | AstKind | kind, | |
PrimaryType * | prefix, | |||
IdentifierInfo * | name, | |||
Location | loc, | |||
IdentifierInfo ** | keywords, | |||
FunctionType * | type, | |||
DeclRegion * | parent | |||
) | [inline, protected] |
Definition at line 45 of file AttribDecl.h.
static bool comma::FunctionAttribDecl::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::FunctionDecl.
Reimplemented in comma::PosAD, and comma::ValAD.
Definition at line 40 of file AttribDecl.h.
static bool comma::FunctionAttribDecl::classof | ( | const FunctionAttribDecl * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::FunctionDecl.
Reimplemented in comma::PosAD, and comma::ValAD.
Definition at line 39 of file AttribDecl.h.
attrib::AttributeID comma::FunctionAttribDecl::getAttributeID | ( | ) | const [inline] |
Returns the AttributeID associated with this expression.
Definition at line 25 of file AttribDecl.h.
PrimaryType* comma::FunctionAttribDecl::getPrefix | ( | ) | [inline] |
Returns the prefix associated with this function attribute.
All function attribute declarations have primary types as prefix.
Reimplemented in comma::PosAD, and comma::ValAD.
Definition at line 35 of file AttribDecl.h.
const PrimaryType* comma::FunctionAttribDecl::getPrefix | ( | ) | const [inline] |
Returns the prefix associated with this function attribute.
All function attribute declarations have primary types as prefix.
Reimplemented in comma::PosAD, and comma::ValAD.
Definition at line 34 of file AttribDecl.h.