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 414 of file Compiler.h.
|
inline |
Definition at line 416 of file Compiler.h.
References clang::interp::Compiler< Emitter >::VarScope.
|
inlinevirtual |
Definition at line 421 of file Compiler.h.
References Parent.
|
inline |
Definition at line 423 of file Compiler.h.
|
inlinevirtual |
Reimplemented in clang::interp::DeclScope< Emitter >, and clang::interp::BlockScope< Emitter >.
Definition at line 435 of file Compiler.h.
References Parent.
|
inline |
Definition at line 440 of file Compiler.h.
|
inlinevirtual |
Reimplemented in clang::interp::LocalScope< Emitter >.
Definition at line 430 of file Compiler.h.
References Parent.
|
inlinevirtual |
Reimplemented in clang::interp::LocalScope< Emitter >.
Definition at line 463 of file Compiler.h.
|
inlinevirtual |
Reimplemented in clang::interp::LocalScope< Emitter >.
Definition at line 461 of file Compiler.h.
|
inlinevirtual |
Reimplemented in clang::interp::LocalScope< Emitter >.
Definition at line 462 of file Compiler.h.
|
inline |
Definition at line 464 of file Compiler.h.
References Parent.
|
protected |
Compiler instance.
Definition at line 468 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 470 of file Compiler.h.
|
protected |
Definition at line 471 of file Compiler.h.