clang 20.0.0git
Public Types | Public Member Functions | List of all members
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

Enumerator
InitList 

Definition at line 45 of file EnterExpressionEvaluationContext.h.

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]

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

◆ EnterExpressionEvaluationContext() [3/3]

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

◆ ~EnterExpressionEvaluationContext()

clang::EnterExpressionEvaluationContext::~EnterExpressionEvaluationContext ( )
inline

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