class SimpleVariableConstructionContext

Declaration

class SimpleVariableConstructionContext
    : public VariableConstructionContext { /* full declaration omitted */ };

Description

Represents construction into a simple local variable, eg. T var(123);. If a variable has an initializer, eg. T var = makeT();, then the final elidable copy-constructor from makeT() into var would also be a simple variable constructor handled by this class.

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

Inherits from: VariableConstructionContext

Member Variables

Inherited from ConstructionContext:

protected K

Method Overview

Inherited from VariableConstructionContext:

Inherited from ConstructionContext:

Methods

SimpleVariableConstructionContext(
    const clang::DeclStmt* DS)

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

Parameters

const clang::DeclStmt* DS

static bool classof(
    const clang::ConstructionContext* CC)

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

Parameters

const clang::ConstructionContext* CC