clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions
clang::CXXInstanceCall Class Reference

Represents a non-static C++ member function call, no matter how it is written. More...

#include <CallEvent.h>

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

List of all members.

Public Member Functions

virtual const ExprgetCXXThisExpr () const
 Returns the expression representing the implicit 'this' object.
virtual SVal getCXXThisVal () const
 Returns the value of the implicit 'this' object.
const FunctionDeclgetDecl () const override
RuntimeDefinition getRuntimeDefinition () const override
void getInitialStackFrameContents (const StackFrameContext *CalleeCtx, BindingsTy &Bindings) const override

Static Public Member Functions

static bool classof (const CallEvent *CA)

Protected Member Functions

void getExtraInvalidatedValues (ValueList &Values) const override
 CXXInstanceCall (const CallExpr *CE, ProgramStateRef St, const LocationContext *LCtx)
 CXXInstanceCall (const FunctionDecl *D, ProgramStateRef St, const LocationContext *LCtx)
 CXXInstanceCall (const CXXInstanceCall &Other)

Detailed Description

Represents a non-static C++ member function call, no matter how it is written.

Definition at line 522 of file CallEvent.h.


Constructor & Destructor Documentation

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

Definition at line 526 of file CallEvent.h.

clang::CXXInstanceCall::CXXInstanceCall ( const FunctionDecl D,
ProgramStateRef  St,
const LocationContext LCtx 
) [inline, protected]

Definition at line 529 of file CallEvent.h.

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

Definition at line 534 of file CallEvent.h.


Member Function Documentation

static bool clang::CXXInstanceCall::classof ( const CallEvent CA) [inline, static]
virtual const Expr* clang::CXXInstanceCall::getCXXThisExpr ( ) const [inline, virtual]

Returns the expression representing the implicit 'this' object.

Reimplemented in clang::CXXMemberOperatorCall, and clang::CXXMemberCall.

Definition at line 538 of file CallEvent.h.

SVal CXXInstanceCall::getCXXThisVal ( ) const [virtual]

Returns the value of the implicit 'this' object.

Reimplemented in clang::CXXDestructorCall.

Definition at line 409 of file CallEvent.cpp.

References clang::ento::SVal::getAs(), and clang::ento::SVal::isUnknownOrUndef().

const FunctionDecl * CXXInstanceCall::getDecl ( ) const [override]
void CXXInstanceCall::getExtraInvalidatedValues ( ValueList Values) const [override, protected]

Definition at line 405 of file CallEvent.cpp.

void CXXInstanceCall::getInitialStackFrameContents ( const StackFrameContext CalleeCtx,
BindingsTy &  Bindings 
) const [override]

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