Home
last modified time | relevance | path

Searched refs:VariableScope (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeExprGen.h34 template <class Emitter> class VariableScope; variable
219 friend class VariableScope<Emitter>;
307 VariableScope<Emitter> *VarScope = nullptr;
330 template <class Emitter> class VariableScope {
332 VariableScope(ByteCodeExprGen<Emitter> *Ctx) in VariableScope() function
337 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()
H A DByteCodeExprGen.cpp28 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()