clang API Documentation
Represents the memory allocation call in a C++ new-expression. More...
#include <CallEvent.h>
Public Member Functions | |
virtual const CXXNewExpr * | getOriginExpr () const |
const FunctionDecl * | getDecl () const override |
unsigned | getNumArgs () const override |
const Expr * | getArgExpr (unsigned Index) const override |
Kind | getKind () const override |
Static Public Member Functions | |
static bool | classof (const CallEvent *CE) |
Protected Member Functions | |
CXXAllocatorCall (const CXXNewExpr *E, ProgramStateRef St, const LocationContext *LCtx) | |
CXXAllocatorCall (const CXXAllocatorCall &Other) | |
void | cloneTo (void *Dest) const override |
Friends | |
class | CallEventManager |
Represents the memory allocation call in a C++ new-expression.
This is a call to "operator new".
Definition at line 740 of file CallEvent.h.
clang::CXXAllocatorCall::CXXAllocatorCall | ( | const CXXNewExpr * | E, |
ProgramStateRef | St, | ||
const LocationContext * | LCtx | ||
) | [inline, protected] |
Definition at line 744 of file CallEvent.h.
clang::CXXAllocatorCall::CXXAllocatorCall | ( | const CXXAllocatorCall & | Other | ) | [inline, protected] |
Definition at line 748 of file CallEvent.h.
static bool clang::CXXAllocatorCall::classof | ( | const CallEvent * | CE | ) | [inline, static] |
Definition at line 773 of file CallEvent.h.
References clang::ento::CE_CXXAllocator.
void clang::CXXAllocatorCall::cloneTo | ( | void * | Dest | ) | const [inline, override, protected] |
Definition at line 749 of file CallEvent.h.
const Expr* clang::CXXAllocatorCall::getArgExpr | ( | unsigned | Index | ) | const [inline, override] |
Definition at line 764 of file CallEvent.h.
const FunctionDecl* clang::CXXAllocatorCall::getDecl | ( | ) | const [inline, override] |
Definition at line 756 of file CallEvent.h.
Kind clang::CXXAllocatorCall::getKind | ( | ) | const [inline, override] |
Definition at line 771 of file CallEvent.h.
References clang::ento::CE_CXXAllocator.
unsigned clang::CXXAllocatorCall::getNumArgs | ( | ) | const [inline, override] |
Definition at line 760 of file CallEvent.h.
virtual const CXXNewExpr* clang::CXXAllocatorCall::getOriginExpr | ( | ) | const [inline, virtual] |
Definition at line 752 of file CallEvent.h.
References clang::ento::CallEvent::getOriginExpr().
friend class CallEventManager [friend] |
Definition at line 741 of file CallEvent.h.