clang 22.0.0git
clang::EnterExpressionEvaluationContext Class Reference

RAII object that enters a new expression evaluation context. More...

#include "clang/Sema/EnterExpressionEvaluationContext.h"

Public Types

enum  InitListTag { InitList }

Public Member Functions

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

Detailed Description

RAII object that enters a new expression evaluation context.

Definition at line 19 of file EnterExpressionEvaluationContext.h.

Member Enumeration Documentation

◆ InitListTag

Constructor & Destructor Documentation

◆ EnterExpressionEvaluationContext() [1/3]

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

◆ EnterExpressionEvaluationContext() [2/3]

◆ EnterExpressionEvaluationContext() [3/3]

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

Definition at line 46 of file EnterExpressionEvaluationContext.h.

References false.

◆ ~EnterExpressionEvaluationContext()

clang::EnterExpressionEvaluationContext::~EnterExpressionEvaluationContext ( )
inline

Definition at line 61 of file EnterExpressionEvaluationContext.h.


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