|
clang
5.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 692 of file Sema.h.
References clang::Sema::CurContext, and clang::Sema::CXXThisTypeOverride.
|
inline |
|
inline |
Definition at line 703 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().
1.8.6