clang
3.7.0
|
A RAII object to temporarily push a declaration context. More...
#include <Sema.h>
Public Member Functions | |
ContextRAII (Sema &S, DeclContext *ContextToPush, bool NewThisContext=true) | |
void | pop () |
~ContextRAII () | |
|
inline |
Definition at line 609 of file Sema.h.
References clang::Sema::CurContext, and clang::Sema::CXXThisTypeOverride.
|
inline |
|
inline |
Definition at line 620 of file Sema.h.
References clang::Sema::CurContext, clang::Sema::CXXThisTypeOverride, clang::Sema::DelayedDiagnostics, and clang::Sema::DelayedDiagnostics::popUndelayed().
Referenced by clang::Sema::InstantiateClass(), clang::Sema::InstantiateEnum(), clang::Sema::InstantiateFunctionDefinition(), and ~ContextRAII().