clang 20.0.0git
|
Scope chain managing the variable lifetimes. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/Compiler.h"
Public Member Functions | |
VariableScope (Compiler< Emitter > *Ctx, const ValueDecl *VD) | |
virtual | ~VariableScope () |
void | add (const Scope::Local &Local, bool IsExtended) |
virtual void | addLocal (const Scope::Local &Local) |
virtual void | addExtended (const Scope::Local &Local) |
void | addExtended (const Scope::Local &Local, const ValueDecl *ExtendingDecl) |
virtual void | emitDestruction () |
virtual bool | emitDestructors (const Expr *E=nullptr) |
virtual bool | destroyLocals (const Expr *E=nullptr) |
VariableScope * | getParent () const |
Protected Attributes | |
Compiler< Emitter > * | Ctx |
Compiler instance. | |
VariableScope * | Parent |
Link to the parent scope. | |
const ValueDecl * | ValDecl = nullptr |
Scope chain managing the variable lifetimes.
Definition at line 435 of file Compiler.h.
|
inline |
Definition at line 437 of file Compiler.h.
References clang::interp::Compiler< Emitter >::VarScope.
|
inlinevirtual |
Definition at line 442 of file Compiler.h.
References Parent.
|
inline |
Definition at line 444 of file Compiler.h.
|
inlinevirtual |
Reimplemented in clang::interp::DeclScope< Emitter >, and clang::interp::BlockScope< Emitter >.
Definition at line 456 of file Compiler.h.
References Parent.
|
inline |
Definition at line 461 of file Compiler.h.
|
inlinevirtual |
Reimplemented in clang::interp::LocalScope< Emitter >.
Definition at line 451 of file Compiler.h.
References Parent.
|
inlinevirtual |
Reimplemented in clang::interp::LocalScope< Emitter >.
Definition at line 484 of file Compiler.h.
|
inlinevirtual |
Reimplemented in clang::interp::LocalScope< Emitter >.
Definition at line 482 of file Compiler.h.
|
inlinevirtual |
Reimplemented in clang::interp::LocalScope< Emitter >.
Definition at line 483 of file Compiler.h.
|
inline |
Definition at line 485 of file Compiler.h.
References Parent.
|
protected |
Compiler instance.
Definition at line 489 of file Compiler.h.
Referenced by clang::interp::DeclScope< Emitter >::DeclScope(), and clang::interp::DeclScope< Emitter >::~DeclScope().
|
protected |
Link to the parent scope.
Definition at line 491 of file Compiler.h.
|
protected |
Definition at line 492 of file Compiler.h.