class LambdaCaptureConstructionContext

Declaration

class LambdaCaptureConstructionContext : public ConstructionContext { /* full declaration omitted */ };

Description

ConstructionContext's subclasses describe different ways of constructing an object in C++. The context re-captures the essential parent AST nodes of the CXXConstructExpr it is assigned to and presents these nodes through easy-to-understand accessor methods.

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

Inherits from: ConstructionContext

Member Variables

private const clang::LambdaExpr* LE
private unsigned int Index

Inherited from ConstructionContext:

protected K

Method Overview

Inherited from ConstructionContext:

Methods

LambdaCaptureConstructionContext(
    const clang::LambdaExpr* LE,
    unsigned int Index)

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

Parameters

const clang::LambdaExpr* LE
unsigned int Index

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

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

Parameters

const clang::ConstructionContext* CC

const clang::ArrayInitLoopExpr* getArrayInitLoop()
    const

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

const clang::FieldDecl* getFieldDecl() const

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

unsigned int getIndex() const

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

const clang::Expr* getInitializer() const

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

const clang::LambdaExpr* getLambdaExpr() const

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