class EnterExpressionEvaluationContext

Declaration

class EnterExpressionEvaluationContext { /* full declaration omitted */ };

Description

RAII object that enters a new expression evaluation context.

Declared at: clang/include/clang/Sema/Sema.h:13535

Member Variables

private clang::Sema& Actions
private bool Entered = true

Method Overview

  • public EnterExpressionEvaluationContext(clang::Sema & Actions, Sema::ExpressionEvaluationContext NewContext, clang::Decl * LambdaContextDecl = nullptr, Sema::ExpressionEvaluationContextRecord::ExpressionKind ExprContext = Sema::ExpressionEvaluationContextRecord::EK_Other, bool ShouldEnter = true)
  • public EnterExpressionEvaluationContext(clang::Sema & Actions, Sema::ExpressionEvaluationContext NewContext, Sema::ReuseLambdaContextDecl_t, Sema::ExpressionEvaluationContextRecord::ExpressionKind ExprContext = Sema::ExpressionEvaluationContextRecord::EK_Other)
  • public EnterExpressionEvaluationContext(clang::Sema & Actions, clang::EnterExpressionEvaluationContext::InitListTag, bool ShouldEnter = true)
  • public ~EnterExpressionEvaluationContext()

Methods

EnterExpressionEvaluationContext(
    clang::Sema& Actions,
    Sema::ExpressionEvaluationContext NewContext,
    clang::Decl* LambdaContextDecl = nullptr,
    Sema::ExpressionEvaluationContextRecord::
        ExpressionKind ExprContext = Sema::
            ExpressionEvaluationContextRecord::
                EK_Other,
    bool ShouldEnter = true)

Declared at: clang/include/clang/Sema/Sema.h:13540

Parameters

clang::Sema& Actions
Sema::ExpressionEvaluationContext NewContext
clang::Decl* LambdaContextDecl = nullptr
Sema::ExpressionEvaluationContextRecord:: ExpressionKind ExprContext = Sema::ExpressionEvaluationContextRecord::EK_Other
bool ShouldEnter = true

EnterExpressionEvaluationContext(
    clang::Sema& Actions,
    Sema::ExpressionEvaluationContext NewContext,
    Sema::ReuseLambdaContextDecl_t,
    Sema::ExpressionEvaluationContextRecord::
        ExpressionKind ExprContext = Sema::
            ExpressionEvaluationContextRecord::
                EK_Other)

Declared at: clang/include/clang/Sema/Sema.h:13551

Parameters

clang::Sema& Actions
Sema::ExpressionEvaluationContext NewContext
Sema::ReuseLambdaContextDecl_t
Sema::ExpressionEvaluationContextRecord:: ExpressionKind ExprContext = Sema::ExpressionEvaluationContextRecord::EK_Other

EnterExpressionEvaluationContext(
    clang::Sema& Actions,
    clang::EnterExpressionEvaluationContext::
        InitListTag,
    bool ShouldEnter = true)

Declared at: clang/include/clang/Sema/Sema.h:13562

Parameters

clang::Sema& Actions
clang::EnterExpressionEvaluationContext:: InitListTag
bool ShouldEnter = true

~EnterExpressionEvaluationContext()

Declared at: clang/include/clang/Sema/Sema.h:13577