clang 19.0.0git
|
Generic scope for local variables. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/Interp/ByteCodeExprGen.h"
Public Member Functions | |
LocalScope (ByteCodeExprGen< Emitter > *Ctx) | |
~LocalScope () override | |
Emit a Destroy op for this scope. | |
void | emitDestruction () override |
Overriden to support explicit destruction. | |
bool | destroyLocals () |
Explicit destruction of local variables. | |
void | addLocal (const Scope::Local &Local) override |
bool | emitDestructors () override |
void | removeStoredOpaqueValues () |
void | removeIfStoredOpaqueValue (const Scope::Local &Local) |
Public Member Functions inherited from clang::interp::VariableScope< Emitter > | |
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 () |
virtual bool | emitDestructors () |
VariableScope * | getParent () const |
Public Attributes | |
std::optional< unsigned > | Idx |
Index of the scope in the chain. | |
Additional Inherited Members | |
Protected Attributes inherited from clang::interp::VariableScope< Emitter > | |
ByteCodeExprGen< Emitter > * | Ctx |
ByteCodeExprGen instance. | |
VariableScope * | Parent |
Link to the parent scope. | |
Generic scope for local variables.
Definition at line 358 of file ByteCodeExprGen.h.
|
inline |
Definition at line 360 of file ByteCodeExprGen.h.
|
inlineoverride |
Emit a Destroy op for this scope.
Definition at line 363 of file ByteCodeExprGen.h.
|
inlineoverridevirtual |
Reimplemented from clang::interp::VariableScope< Emitter >.
Definition at line 385 of file ByteCodeExprGen.h.
|
inline |
Explicit destruction of local variables.
Definition at line 374 of file ByteCodeExprGen.h.
References clang::Success.
Referenced by clang::interp::ByteCodeExprGen< Emitter >::visitExpr().
|
inlineoverridevirtual |
Overriden to support explicit destruction.
Reimplemented from clang::interp::VariableScope< Emitter >.
Definition at line 371 of file ByteCodeExprGen.h.
|
inlineoverridevirtual |
Reimplemented from clang::interp::VariableScope< Emitter >.
Definition at line 394 of file ByteCodeExprGen.h.
|
inline |
Definition at line 424 of file ByteCodeExprGen.h.
|
inline |
Definition at line 415 of file ByteCodeExprGen.h.
std::optional<unsigned> clang::interp::LocalScope< Emitter >::Idx |
Index of the scope in the chain.
Definition at line 434 of file ByteCodeExprGen.h.