clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends
clang::BlockCall Class Reference

#include <CallEvent.h>

Inheritance diagram for clang::BlockCall:
Inheritance graph
[legend]
Collaboration diagram for clang::BlockCall:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const CallExprgetOriginExpr () const
unsigned getNumArgs () const override
const ExprgetArgExpr (unsigned Index) const override
const BlockDataRegiongetBlockRegion () const
 Returns the region associated with this instance of the block.
const BlockDeclgetDecl () const override
RuntimeDefinition getRuntimeDefinition () const override
bool argumentsMayEscape () const override
void getInitialStackFrameContents (const StackFrameContext *CalleeCtx, BindingsTy &Bindings) const override
ArrayRef< ParmVarDecl * > parameters () const override
Kind getKind () const override

Static Public Member Functions

static bool classof (const CallEvent *CA)

Protected Member Functions

 BlockCall (const CallExpr *CE, ProgramStateRef St, const LocationContext *LCtx)
 BlockCall (const BlockCall &Other)
void cloneTo (void *Dest) const override
void getExtraInvalidatedValues (ValueList &Values) const override

Friends

class CallEventManager

Detailed Description

Definition at line 464 of file CallEvent.h.


Constructor & Destructor Documentation

clang::BlockCall::BlockCall ( const CallExpr CE,
ProgramStateRef  St,
const LocationContext LCtx 
) [inline, protected]

Definition at line 468 of file CallEvent.h.

clang::BlockCall::BlockCall ( const BlockCall Other) [inline, protected]

Definition at line 472 of file CallEvent.h.


Member Function Documentation

bool clang::BlockCall::argumentsMayEscape ( ) const [inline, override]

Definition at line 504 of file CallEvent.h.

static bool clang::BlockCall::classof ( const CallEvent CA) [inline, static]

Definition at line 515 of file CallEvent.h.

References clang::ento::CE_Block.

void clang::BlockCall::cloneTo ( void *  Dest) const [inline, override, protected]

Definition at line 473 of file CallEvent.h.

const Expr* clang::BlockCall::getArgExpr ( unsigned  Index) const [inline, override]

Definition at line 484 of file CallEvent.h.

Returns the region associated with this instance of the block.

This may be NULL if the block's origin is unknown.

Definition at line 538 of file CallEvent.cpp.

const BlockDecl* clang::BlockCall::getDecl ( ) const [inline, override]

Definition at line 493 of file CallEvent.h.

void BlockCall::getExtraInvalidatedValues ( ValueList Values) const [override, protected]

Definition at line 552 of file CallEvent.cpp.

void BlockCall::getInitialStackFrameContents ( const StackFrameContext CalleeCtx,
BindingsTy &  Bindings 
) const [override]
Kind clang::BlockCall::getKind ( ) const [inline, override]

Definition at line 513 of file CallEvent.h.

References clang::ento::CE_Block.

unsigned clang::BlockCall::getNumArgs ( ) const [inline, override]

Definition at line 482 of file CallEvent.h.

virtual const CallExpr* clang::BlockCall::getOriginExpr ( ) const [inline, virtual]

Definition at line 478 of file CallEvent.h.

References clang::ento::CallEvent::getOriginExpr().

RuntimeDefinition clang::BlockCall::getRuntimeDefinition ( ) const [inline, override]

Definition at line 500 of file CallEvent.h.

ArrayRef< ParmVarDecl * > BlockCall::parameters ( ) const [override]

Definition at line 545 of file CallEvent.cpp.

References clang::BlockDecl::parameters().


Friends And Related Function Documentation

friend class CallEventManager [friend]

Definition at line 465 of file CallEvent.h.


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