clang API Documentation

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

Represents a non-static C++ member function call. More...

#include <CallEvent.h>

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

List of all members.

Public Member Functions

virtual const CXXMemberCallExprgetOriginExpr () const
unsigned getNumArgs () const override
const ExprgetArgExpr (unsigned Index) const override
const ExprgetCXXThisExpr () const override
 Returns the expression representing the implicit 'this' object.
RuntimeDefinition getRuntimeDefinition () const override
Kind getKind () const override

Static Public Member Functions

static bool classof (const CallEvent *CA)

Protected Member Functions

 CXXMemberCall (const CXXMemberCallExpr *CE, ProgramStateRef St, const LocationContext *LCtx)
 CXXMemberCall (const CXXMemberCall &Other)
void cloneTo (void *Dest) const override

Friends

class CallEventManager

Detailed Description

Represents a non-static C++ member function call.

Example: obj.fun()

Definition at line 559 of file CallEvent.h.


Constructor & Destructor Documentation

clang::CXXMemberCall::CXXMemberCall ( const CXXMemberCallExpr CE,
ProgramStateRef  St,
const LocationContext LCtx 
) [inline, protected]

Definition at line 563 of file CallEvent.h.

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

Definition at line 567 of file CallEvent.h.


Member Function Documentation

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

Reimplemented from clang::CXXInstanceCall.

Definition at line 591 of file CallEvent.h.

References clang::ento::CE_CXXMember.

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

Definition at line 568 of file CallEvent.h.

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

Definition at line 581 of file CallEvent.h.

const Expr * CXXMemberCall::getCXXThisExpr ( ) const [override, virtual]

Returns the expression representing the implicit 'this' object.

Reimplemented from clang::CXXInstanceCall.

Definition at line 516 of file CallEvent.cpp.

Kind clang::CXXMemberCall::getKind ( ) const [inline, override]

Definition at line 589 of file CallEvent.h.

References clang::ento::CE_CXXMember.

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

Definition at line 575 of file CallEvent.h.

virtual const CXXMemberCallExpr* clang::CXXMemberCall::getOriginExpr ( ) const [inline, virtual]

Definition at line 571 of file CallEvent.h.


Friends And Related Function Documentation

friend class CallEventManager [friend]

Definition at line 560 of file CallEvent.h.


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