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:

protected K

Method Overview

Inherited from ConstructionContext:

Methods

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)

Declared at: clang/include/clang/Analysis/ConstructionContext.h:477

Parameters

const clang::ConstructionContext* CC

const clang::CXXNewExpr* getCXXNewExpr() const

Declared at: clang/include/clang/Analysis/ConstructionContext.h:475