clang API Documentation

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

Represents a C++ overloaded operator call where the operator is implemented as a non-static member function. More...

#include <CallEvent.h>

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

List of all members.

Public Member Functions

virtual const CXXOperatorCallExpr * getOriginExpr () const
unsigned getNumArgs () const override
const Expr * getArgExpr (unsigned Index) const override
const Expr * getCXXThisExpr () const override
 Returns the expression representing the implicit 'this' object.
Kind getKind () const override

Static Public Member Functions

static bool classof (const CallEvent *CA)

Protected Member Functions

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

Friends

class CallEventManager

Detailed Description

Represents a C++ overloaded operator call where the operator is implemented as a non-static member function.

Example: iter + 1

Definition at line 600 of file CallEvent.h.


Constructor & Destructor Documentation

clang::CXXMemberOperatorCall::CXXMemberOperatorCall ( const CXXOperatorCallExpr *  CE,
ProgramStateRef  St,
const LocationContext *  LCtx 
) [inline, protected]

Definition at line 604 of file CallEvent.h.

Definition at line 608 of file CallEvent.h.


Member Function Documentation

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

Reimplemented from clang::CXXInstanceCall.

Definition at line 630 of file CallEvent.h.

References clang::ento::CE_CXXMemberOperator.

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

Definition at line 610 of file CallEvent.h.

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

Definition at line 622 of file CallEvent.h.

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

Returns the expression representing the implicit 'this' object.

Reimplemented from clang::CXXInstanceCall.

Definition at line 533 of file CallEvent.cpp.

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

Definition at line 628 of file CallEvent.h.

References clang::ento::CE_CXXMemberOperator.

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

Definition at line 619 of file CallEvent.h.

virtual const CXXOperatorCallExpr* clang::CXXMemberOperatorCall::getOriginExpr ( ) const [inline, virtual]

Definition at line 615 of file CallEvent.h.


Friends And Related Function Documentation

friend class CallEventManager [friend]

Definition at line 601 of file CallEvent.h.


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