clang
7.0.0
|
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 714 of file Sema.h.
References clang::Sema::CurContext, and clang::Sema::CXXThisTypeOverride.
|
inline |
Definition at line 725 of file Sema.h.
References clang::Sema::CurContext, clang::Sema::CXXThisTypeOverride, clang::Sema::DelayedDiagnostics, and clang::Sema::DelayedDiagnostics::popUndelayed().
Referenced by clang::Sema::InstantiateEnum().