clang  6.0.0svn
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/Sema.h"

Public Types

enum  InitListTag { InitList }
 

Public Member Functions

 EnterExpressionEvaluationContext (Sema &Actions, Sema::ExpressionEvaluationContext NewContext, Decl *LambdaContextDecl=nullptr, bool IsDecltype=false, bool ShouldEnter=true)
 
 EnterExpressionEvaluationContext (Sema &Actions, Sema::ExpressionEvaluationContext NewContext, Sema::ReuseLambdaContextDecl_t, bool IsDecltype=false)
 
 EnterExpressionEvaluationContext (Sema &Actions, InitListTag, bool ShouldEnter=true)
 
 ~EnterExpressionEvaluationContext ()
 

Detailed Description

RAII object that enters a new expression evaluation context.

Definition at line 10617 of file Sema.h.

Member Enumeration Documentation

◆ InitListTag

Enumerator
InitList 

Definition at line 10643 of file Sema.h.

Constructor & Destructor Documentation

◆ EnterExpressionEvaluationContext() [1/3]

clang::EnterExpressionEvaluationContext::EnterExpressionEvaluationContext ( Sema Actions,
Sema::ExpressionEvaluationContext  NewContext,
Decl LambdaContextDecl = nullptr,
bool  IsDecltype = false,
bool  ShouldEnter = true 
)
inline

Definition at line 10623 of file Sema.h.

References clang::Sema::PushExpressionEvaluationContext().

◆ EnterExpressionEvaluationContext() [2/3]

clang::EnterExpressionEvaluationContext::EnterExpressionEvaluationContext ( Sema Actions,
Sema::ExpressionEvaluationContext  NewContext,
Sema::ReuseLambdaContextDecl_t  ,
bool  IsDecltype = false 
)
inline

Definition at line 10633 of file Sema.h.

References clang::Sema::PushExpressionEvaluationContext().

◆ 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: