clang  3.9.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
clang::CXXAllocatorCall Class Reference

Represents the memory allocation call in a C++ new-expression. More...

#include <CallEvent.h>

Inheritance diagram for clang::CXXAllocatorCall:
[legend]
Collaboration diagram for clang::CXXAllocatorCall:
[legend]

Public Member Functions

virtual const CXXNewExprgetOriginExpr () const
 
const FunctionDeclgetDecl () const override
 
unsigned getNumArgs () const override
 
const ExprgetArgExpr (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
 

Detailed Description

Represents the memory allocation call in a C++ new-expression.

This is a call to "operator new".

Definition at line 830 of file CallEvent.h.

Constructor & Destructor Documentation

clang::CXXAllocatorCall::CXXAllocatorCall ( const CXXNewExpr E,
ProgramStateRef  St,
const LocationContext LCtx 
)
inlineprotected

Definition at line 834 of file CallEvent.h.

clang::CXXAllocatorCall::CXXAllocatorCall ( const CXXAllocatorCall Other)
inlineprotected

Definition at line 838 of file CallEvent.h.

Member Function Documentation

static bool clang::CXXAllocatorCall::classof ( const CallEvent CE)
inlinestatic

Definition at line 863 of file CallEvent.h.

References clang::ento::CE_CXXAllocator.

void clang::CXXAllocatorCall::cloneTo ( void *  Dest) const
inlineoverrideprotected

Definition at line 839 of file CallEvent.h.

const Expr* clang::CXXAllocatorCall::getArgExpr ( unsigned  Index) const
inlineoverride

Definition at line 854 of file CallEvent.h.

const FunctionDecl* clang::CXXAllocatorCall::getDecl ( ) const
inlineoverride

Definition at line 846 of file CallEvent.h.

Kind clang::CXXAllocatorCall::getKind ( ) const
inlineoverride

Definition at line 861 of file CallEvent.h.

References clang::ento::CE_CXXAllocator.

unsigned clang::CXXAllocatorCall::getNumArgs ( ) const
inlineoverride

Definition at line 850 of file CallEvent.h.

virtual const CXXNewExpr* clang::CXXAllocatorCall::getOriginExpr ( ) const
inlinevirtual

Definition at line 842 of file CallEvent.h.

References clang::ento::CallEvent::getOriginExpr().

Friends And Related Function Documentation

friend class CallEventManager
friend

Definition at line 831 of file CallEvent.h.


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