clang 17.0.0git
|
Scope used to handle temporaries in toplevel variable declarations. More...
Public Member Functions | |
DeclScope (ByteCodeExprGen< Emitter > *Ctx, const VarDecl *VD) | |
void | addExtended (const Scope::Local &Local) override |
![]() | |
LocalScope (ByteCodeExprGen< Emitter > *Ctx) | |
~LocalScope () override | |
void | addLocal (const Scope::Local &Local) override |
void | emitDestruction () override |
![]() | |
VariableScope (ByteCodeExprGen< Emitter > *Ctx) | |
virtual | ~VariableScope () |
void | add (const Scope::Local &Local, bool IsExtended) |
virtual void | addLocal (const Scope::Local &Local) |
virtual void | addExtended (const Scope::Local &Local) |
virtual void | emitDestruction () |
VariableScope * | getParent () const |
Additional Inherited Members | |
![]() | |
std::optional< unsigned > | Idx |
Index of the scope in the chain. | |
![]() | |
ByteCodeExprGen< Emitter > * | Ctx |
ByteCodeExprGen instance. | |
VariableScope * | Parent |
Link to the parent scope. | |
Scope used to handle temporaries in toplevel variable declarations.
Definition at line 29 of file ByteCodeExprGen.cpp.
|
inline |
Definition at line 31 of file ByteCodeExprGen.cpp.
|
inlineoverridevirtual |
Reimplemented from clang::interp::VariableScope< Emitter >.
Definition at line 34 of file ByteCodeExprGen.cpp.
References clang::interp::LocalScope< Emitter >::addLocal().