clang
10.0.0git
|
Represents a C++ overloaded operator call where the operator is implemented as a non-static member function. More...
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
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. More... | |
Kind | getKind () const override |
Optional< unsigned > | getAdjustedParameterIndex (unsigned ASTArgumentIndex) const override |
unsigned | getASTArgumentIndex (unsigned CallArgumentIndex) const override |
![]() | |
virtual SVal | getCXXThisVal () const |
Returns the value of the implicit 'this' object. More... | |
const FunctionDecl * | getDecl () 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) |
![]() | |
static bool | classof (const CallEvent *CA) |
Protected Member Functions | |
CXXMemberOperatorCall (const CXXOperatorCallExpr *CE, ProgramStateRef St, const LocationContext *LCtx) | |
CXXMemberOperatorCall (const CXXMemberOperatorCall &Other)=default | |
void | cloneTo (void *Dest) const override |
![]() | |
CXXInstanceCall (const CallExpr *CE, ProgramStateRef St, const LocationContext *LCtx) | |
CXXInstanceCall (const FunctionDecl *D, ProgramStateRef St, const LocationContext *LCtx) | |
CXXInstanceCall (const CXXInstanceCall &Other)=default | |
void | getExtraInvalidatedValues (ValueList &Values, RegionAndSymbolInvalidationTraits *ETraits) const override |
Friends | |
class | CallEventManager |
Represents a C++ overloaded operator call where the operator is implemented as a non-static member function.
Example: iter + 1
Definition at line 715 of file CallEvent.h.
|
inlineprotected |
Definition at line 719 of file CallEvent.h.
|
protecteddefault |
Definition at line 745 of file CallEvent.h.
References clang::ento::CE_CXXMemberOperator.
|
inlineoverrideprotected |
Definition at line 724 of file CallEvent.h.
|
inlineoverride |
Definition at line 750 of file CallEvent.h.
References None.
|
inlineoverride |
Definition at line 737 of file CallEvent.h.
|
inlineoverride |
Definition at line 757 of file CallEvent.h.
|
overridevirtual |
Returns the expression representing the implicit 'this' object.
Reimplemented from clang::CXXInstanceCall.
Definition at line 844 of file CallEvent.cpp.
References clang::ento::CallEvent::getOriginExpr().
|
inlineoverride |
Definition at line 743 of file CallEvent.h.
References clang::ento::CE_CXXMemberOperator.
|
inlineoverride |
Definition at line 733 of file CallEvent.h.
|
inlinevirtual |
Definition at line 729 of file CallEvent.h.
|
friend |
Definition at line 716 of file CallEvent.h.