class NewAllocatedObjectConstructionContext
Declaration
class NewAllocatedObjectConstructionContext
: public ConstructionContext { /* full declaration omitted */ };
Description
Represents immediate initialization of memory allocated by operator new, eg. new T(123);.
Declared at: clang/include/clang/Analysis/ConstructionContext.h:463
Inherits from: ConstructionContext
Member Variables
- private const clang::CXXNewExpr* NE
Inherited from ConstructionContext:
Method Overview
- private NewAllocatedObjectConstructionContext(const clang::CXXNewExpr * NE)
- public static bool classof(const clang::ConstructionContext * CC)
- public const clang::CXXNewExpr * getCXXNewExpr() const
Inherited from ConstructionContext:
Methods
¶NewAllocatedObjectConstructionContext(
const clang::CXXNewExpr* NE)
NewAllocatedObjectConstructionContext(
const clang::CXXNewExpr* NE)
Declared at: clang/include/clang/Analysis/ConstructionContext.h:468
Parameters
- const clang::CXXNewExpr* NE
¶static bool classof(
const clang::ConstructionContext* CC)
static bool classof(
const clang::ConstructionContext* CC)
Declared at: clang/include/clang/Analysis/ConstructionContext.h:477
Parameters
- const clang::ConstructionContext* CC
¶const clang::CXXNewExpr* getCXXNewExpr() const
const clang::CXXNewExpr* getCXXNewExpr() const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:475