clang 20.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 |
|
inline |
Definition at line 3048 of file Sema.h.
Referenced by clang::Sema::DeclareAggregateDeductionGuideFromInitList(), clang::Sema::DeclareImplicitDeductionGuides(), clang::Sema::InstantiateClass(), clang::Sema::InstantiateEnum(), clang::Sema::InstantiateFunctionDefinition(), and clang::Sema::InstantiateVariableDefinition().