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:
Method Overview
- private LambdaCaptureConstructionContext(const clang::LambdaExpr * LE, unsigned int Index)
- public static bool classof(const clang::ConstructionContext * CC)
- public const clang::ArrayInitLoopExpr * getArrayInitLoop() const
- public const clang::FieldDecl * getFieldDecl() const
- public unsigned int getIndex() const
- public const clang::Expr * getInitializer() const
- public const clang::LambdaExpr * getLambdaExpr() const
Inherited from ConstructionContext:
Methods
¶LambdaCaptureConstructionContext(
const clang::LambdaExpr* LE,
unsigned int Index)
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)
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
const clang::ArrayInitLoopExpr* getArrayInitLoop()
const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:711
¶const clang::FieldDecl* getFieldDecl() const
const clang::FieldDecl* getFieldDecl() const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:705
¶unsigned int getIndex() const
unsigned int getIndex() const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:699
¶const clang::Expr* getInitializer() const
const clang::Expr* getInitializer() const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:701
¶const clang::LambdaExpr* getLambdaExpr() const
const clang::LambdaExpr* getLambdaExpr() const
Declared at: clang/include/clang/Analysis/ConstructionContext.h:698