clang
10.0.0svn
|
Scope for local variables. More...
#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/AST/Interp/ByteCodeExprGen.h"
Public Member Functions | |
LocalScope (ByteCodeExprGen< Emitter > *Ctx) | |
~LocalScope () override | |
void | addLocal (const Scope::Local &Local) override |
void | emitDestruction () override |
![]() | |
virtual | ~VariableScope () |
void | add (const Scope::Local &Local, bool IsExtended) |
virtual void | addExtended (const Scope::Local &Local) |
VariableScope * | getParent () |
Protected Attributes | |
Optional< unsigned > | Idx |
Index of the scope in the chain. More... | |
![]() | |
ByteCodeExprGen< Emitter > * | Ctx |
ByteCodeExprGen instance. More... | |
VariableScope * | Parent |
Link to the parent scope. More... | |
Additional Inherited Members | |
![]() | |
VariableScope (ByteCodeExprGen< Emitter > *Ctx) | |
Scope for local variables.
When the scope is destroyed, instructions are emitted to tear down all variables declared in this scope.
Definition at line 33 of file ByteCodeExprGen.h.
|
inline |
Definition at line 283 of file ByteCodeExprGen.h.
|
inlineoverride |
Definition at line 285 of file ByteCodeExprGen.h.
|
inlineoverridevirtual |
Reimplemented from clang::interp::VariableScope< Emitter >.
Definition at line 287 of file ByteCodeExprGen.h.
|
inlineoverridevirtual |
Reimplemented from clang::interp::VariableScope< Emitter >.
Definition at line 296 of file ByteCodeExprGen.h.
|
protected |
Index of the scope in the chain.
Definition at line 304 of file ByteCodeExprGen.h.