This machine mirrors various open-source projects.
20 Gbit/s uplink.
If there are any issues or you want another project mirrored, please contact
mirror-service -=AT=- netcologne DOT de !
#include <Decl.h>
Public Member Functions | |
ProcedureDecl (AstResource &resource, IdentifierInfo *name, Location loc, ParamValueDecl **params, unsigned numParams, DeclRegion *parent) | |
ProcedureDecl (IdentifierInfo *name, Location loc, IdentifierInfo **keywords, ProcedureType *type, DeclRegion *parent) | |
ProcedureDecl (IdentifierInfo *name, Location loc, ProcedureType *type, DeclRegion *parent) | |
ProcedureDecl * | getDefiningDeclaration () |
const ProcedureDecl * | getDefiningDeclaration () const |
ProcedureDecl * | getForwardDeclaration () |
const ProcedureDecl * | getForwardDeclaration () const |
const ProcedureType * | getType () const |
Returns the type of this procedure declaration. | |
ProcedureType * | getType () |
Returns the type of this procedure declaration. | |
Static Public Member Functions | |
static bool | classof (const ProcedureDecl *node) |
Support isa and dyn_cast. | |
static bool | classof (const Ast *node) |
Definition at line 1070 of file Decl.h.
ProcedureDecl::ProcedureDecl | ( | AstResource & | resource, | |
IdentifierInfo * | name, | |||
Location | loc, | |||
ParamValueDecl ** | params, | |||
unsigned | numParams, | |||
DeclRegion * | parent | |||
) |
comma::ProcedureDecl::ProcedureDecl | ( | IdentifierInfo * | name, | |
Location | loc, | |||
IdentifierInfo ** | keywords, | |||
ProcedureType * | type, | |||
DeclRegion * | parent | |||
) | [inline] |
Constructs a Procedure given a ProcedureType and set of keywords.
This constructor is most useful for generating implicit declarations, typically using a rewritten type. ParamValue decls are generated using the supplied array of keywords (which must be long enough to match the arity of the supplied type, or 0 if this is a nullary procedure). The resulting parameter decls all have default modes, and so one must set each by hand if need be afterwords.
comma::ProcedureDecl::ProcedureDecl | ( | IdentifierInfo * | name, | |
Location | loc, | |||
ProcedureType * | type, | |||
DeclRegion * | parent | |||
) |
static bool comma::ProcedureDecl::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::SubroutineDecl.
static bool comma::ProcedureDecl::classof | ( | const ProcedureDecl * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::SubroutineDecl.
const ProcedureDecl* comma::ProcedureDecl::getDefiningDeclaration | ( | ) | const [inline] |
Reimplemented from comma::SubroutineDecl.
ProcedureDecl* comma::ProcedureDecl::getDefiningDeclaration | ( | ) | [inline] |
Reimplemented from comma::SubroutineDecl.
const ProcedureDecl* comma::ProcedureDecl::getForwardDeclaration | ( | ) | const [inline] |
Reimplemented from comma::SubroutineDecl.
ProcedureDecl* comma::ProcedureDecl::getForwardDeclaration | ( | ) | [inline] |
Reimplemented from comma::SubroutineDecl.
ProcedureType* comma::ProcedureDecl::getType | ( | ) | [inline, virtual] |
Returns the type of this procedure declaration.
Implements comma::SubroutineDecl.
const ProcedureType* comma::ProcedureDecl::getType | ( | ) | const [inline, virtual] |
Returns the type of this procedure declaration.
Implements comma::SubroutineDecl.