Searched refs:VariableScope (Results 1 – 2 of 2) sorted by relevance
34 template <class Emitter> class VariableScope; variable219 friend class VariableScope<Emitter>;307 VariableScope<Emitter> *VarScope = nullptr;330 template <class Emitter> class VariableScope {332 VariableScope(ByteCodeExprGen<Emitter> *Ctx) in VariableScope() function337 virtual ~VariableScope() { Ctx->VarScope = this->Parent; } in ~VariableScope()358 VariableScope *getParent() const { return Parent; } in getParent()364 VariableScope *Parent;368 template <class Emitter> class LocalScope : public VariableScope<Emitter> {370 LocalScope(ByteCodeExprGen<Emitter> *Ctx) : VariableScope<Emitter>(Ctx) {} in LocalScope()
28 template <class Emitter> class DeclScope final : public VariableScope<Emitter> {31 : VariableScope<Emitter>(Ctx), Scope(Ctx->P, VD), in DeclScope()2428 VariableScope<Emitter> LocalScope(this); in visitVarDecl()2909 for (VariableScope<Emitter> *C = VarScope; C; C = C->getParent()) in emitCleanup()