clang  16.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::LambdaCaptureConstructionContext Class Reference

#include "clang/Analysis/ConstructionContext.h"

Inheritance diagram for clang::LambdaCaptureConstructionContext:
Inheritance graph
[legend]
Collaboration diagram for clang::LambdaCaptureConstructionContext:
Collaboration graph
[legend]

Public Member Functions

const LambdaExprgetLambdaExpr () const
 
unsigned getIndex () const
 
const ExprgetInitializer () const
 
const FieldDeclgetFieldDecl () const
 
const ArrayInitLoopExprgetArrayInitLoop () const override
 
- Public Member Functions inherited from clang::ConstructionContext
Kind getKind () const
 
virtual ~ConstructionContext ()=default
 

Static Public Member Functions

static bool classof (const ConstructionContext *CC)
 
- Static Public Member Functions inherited from clang::ConstructionContext
static const ConstructionContextcreateFromLayers (BumpVectorContext &C, const ConstructionContextLayer *TopLayer)
 Consume the construction context layer, together with its parent layers, and wrap it up into a complete construction context. More...
 

Friends

class ConstructionContext
 

Additional Inherited Members

- Public Types inherited from clang::ConstructionContext
enum  Kind {
  SimpleVariableKind, CXX17ElidedCopyVariableKind, VARIABLE_BEGIN = SimpleVariableKind, VARIABLE_END = CXX17ElidedCopyVariableKind,
  SimpleConstructorInitializerKind, CXX17ElidedCopyConstructorInitializerKind, INITIALIZER_BEGIN = SimpleConstructorInitializerKind, INITIALIZER_END = CXX17ElidedCopyConstructorInitializerKind,
  NewAllocatedObjectKind, SimpleTemporaryObjectKind, ElidedTemporaryObjectKind, TEMPORARY_BEGIN = SimpleTemporaryObjectKind,
  TEMPORARY_END = ElidedTemporaryObjectKind, SimpleReturnedValueKind, CXX17ElidedCopyReturnedValueKind, RETURNED_VALUE_BEGIN = SimpleReturnedValueKind,
  RETURNED_VALUE_END = CXX17ElidedCopyReturnedValueKind, ArgumentKind, LambdaCaptureKind
}
 
- Protected Member Functions inherited from clang::ConstructionContext
 ConstructionContext (Kind K)
 
- Protected Attributes inherited from clang::ConstructionContext
Kind K
 

Detailed Description

Definition at line 684 of file ConstructionContext.h.

Member Function Documentation

◆ classof()

static bool clang::LambdaCaptureConstructionContext::classof ( const ConstructionContext CC)
inlinestatic

◆ getArrayInitLoop()

const ArrayInitLoopExpr* clang::LambdaCaptureConstructionContext::getArrayInitLoop ( ) const
inlineoverridevirtual

Reimplemented from clang::ConstructionContext.

Definition at line 711 of file ConstructionContext.h.

References getInitializer().

◆ getFieldDecl()

const FieldDecl* clang::LambdaCaptureConstructionContext::getFieldDecl ( ) const
inline

Definition at line 705 of file ConstructionContext.h.

References advance(), and clang::interp::LE().

◆ getIndex()

unsigned clang::LambdaCaptureConstructionContext::getIndex ( ) const
inline

Definition at line 699 of file ConstructionContext.h.

◆ getInitializer()

const Expr* clang::LambdaCaptureConstructionContext::getInitializer ( ) const
inline

Definition at line 701 of file ConstructionContext.h.

References clang::interp::LE().

Referenced by getArrayInitLoop().

◆ getLambdaExpr()

const LambdaExpr* clang::LambdaCaptureConstructionContext::getLambdaExpr ( ) const
inline

Definition at line 698 of file ConstructionContext.h.

References clang::interp::LE().

Friends And Related Function Documentation

◆ ConstructionContext

friend class ConstructionContext
friend

Definition at line 691 of file ConstructionContext.h.


The documentation for this class was generated from the following file: