clang  3.9.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
clang::BlockCall Class Reference

#include <CallEvent.h>

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

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. More...
 
const BlockDeclgetDecl () const override
 
bool isConversionFromLambda () const
 
const VarRegion * getRegionStoringCapturedLambda () const
 For a block converted from a C++ lambda, returns the block VarRegion for the variable holding the captured C++ lambda record. More...
 
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, RegionAndSymbolInvalidationTraits *ETraits) const override
 

Friends

class CallEventManager
 

Detailed Description

Definition at line 504 of file CallEvent.h.

Constructor & Destructor Documentation

clang::BlockCall::BlockCall ( const CallExpr CE,
ProgramStateRef  St,
const LocationContext LCtx 
)
inlineprotected

Definition at line 508 of file CallEvent.h.

clang::BlockCall::BlockCall ( const BlockCall Other)
inlineprotected

Definition at line 512 of file CallEvent.h.

Member Function Documentation

bool clang::BlockCall::argumentsMayEscape ( ) const
inlineoverride

Definition at line 592 of file CallEvent.h.

static bool clang::BlockCall::classof ( const CallEvent CA)
inlinestatic

Definition at line 603 of file CallEvent.h.

References clang::ento::CE_Block.

void clang::BlockCall::cloneTo ( void *  Dest) const
inlineoverrideprotected

Definition at line 513 of file CallEvent.h.

const Expr* clang::BlockCall::getArgExpr ( unsigned  Index) const
inlineoverride

Definition at line 525 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 588 of file CallEvent.cpp.

const BlockDecl* clang::BlockCall::getDecl ( ) const
inlineoverride

Definition at line 534 of file CallEvent.h.

void BlockCall::getExtraInvalidatedValues ( ValueList Values,
RegionAndSymbolInvalidationTraits ETraits 
) const
overrideprotected

Definition at line 602 of file CallEvent.cpp.

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

Definition at line 601 of file CallEvent.h.

References clang::ento::CE_Block.

unsigned clang::BlockCall::getNumArgs ( ) const
inlineoverride

Definition at line 523 of file CallEvent.h.

virtual const CallExpr* clang::BlockCall::getOriginExpr ( ) const
inlinevirtual

Definition at line 519 of file CallEvent.h.

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

const VarRegion* clang::BlockCall::getRegionStoringCapturedLambda ( ) const
inline

For a block converted from a C++ lambda, returns the block VarRegion for the variable holding the captured C++ lambda record.

Definition at line 551 of file CallEvent.h.

References I.

RuntimeDefinition clang::BlockCall::getRuntimeDefinition ( ) const
inlineoverride
bool clang::BlockCall::isConversionFromLambda ( ) const
inline

Definition at line 541 of file CallEvent.h.

References clang::BlockDecl::isConversionFromLambda().

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

Definition at line 595 of file CallEvent.cpp.

References clang::BlockDecl::parameters().

Friends And Related Function Documentation

friend class CallEventManager
friend

Definition at line 505 of file CallEvent.h.


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