|
clang 22.0.0git
|
A RAII object to temporarily push a declaration context. More...
#include "clang/Sema/Sema.h"
Public Member Functions | |
| ContextRAII (Sema &S, DeclContext *ContextToPush, bool NewThisContext=true) | |
| void | pop () |
| ~ContextRAII () | |
|
inline |
Definition at line 3477 of file Sema.h.
References clang::Sema::CurContext, clang::Sema::CXXThisTypeOverride, clang::Sema::FunctionScopesStart, clang::Sema::InventedParameterInfosStart, and clang::Sema::Sema().
|
inline |
|
inline |
Definition at line 3492 of file Sema.h.
Referenced by clang::Sema::DeclareAggregateDeductionGuideFromInitList(), clang::Sema::DeclareImplicitDeductionGuides(), clang::Sema::InstantiateEnum(), clang::Sema::InstantiateFunctionDefinition(), clang::Sema::InstantiateVariableDefinition(), and ~ContextRAII().