class SimpleTemporaryObjectConstructionContext

Declaration

class SimpleTemporaryObjectConstructionContext
    : public TemporaryObjectConstructionContext { /* full declaration omitted */ };

Description

Represents a temporary object that is not constructed for the purpose of being immediately copied/moved by an elidable copy/move-constructor. This includes temporary objects "in the middle of nowhere" like T(123) and lifetime-extended temporaries.

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

Inherits from: TemporaryObjectConstructionContext

Member Variables

Inherited from ConstructionContext:

protected K

Method Overview

Inherited from TemporaryObjectConstructionContext:

Inherited from ConstructionContext:

Methods

SimpleTemporaryObjectConstructionContext(
    const clang::CXXBindTemporaryExpr* BTE,
    const clang::MaterializeTemporaryExpr* MTE)

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

Parameters

const clang::CXXBindTemporaryExpr* BTE
const clang::MaterializeTemporaryExpr* MTE

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

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

Parameters

const clang::ConstructionContext* CC