clang API Documentation
#include <CallEvent.h>
Public Member Functions | |
virtual const CallExpr * | getOriginExpr () const |
unsigned | getNumArgs () const override |
const Expr * | getArgExpr (unsigned Index) const override |
const BlockDataRegion * | getBlockRegion () const |
Returns the region associated with this instance of the block. | |
const BlockDecl * | getDecl () 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 |
Definition at line 464 of file CallEvent.h.
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.
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.
const BlockDataRegion * BlockCall::getBlockRegion | ( | ) | const |
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] |
Definition at line 558 of file CallEvent.cpp.
References addParameterValuesToBindings(), clang::LocationContext::getDecl(), clang::ento::SValBuilder::getStateManager(), clang::ento::ProgramStateManager::getSValBuilder(), and clang::BlockDecl::parameters().
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().
friend class CallEventManager [friend] |
Definition at line 465 of file CallEvent.h.