clang 18.0.0git
|
Expression scope which tracks potentially lifetime extended temporaries which are hoisted to the parent scope on exit. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/Interp/ByteCodeExprGen.h"
Public Member Functions | |
ExprScope (ByteCodeExprGen< Emitter > *Ctx) | |
void | addExtended (const Scope::Local &Local) override |
![]() | |
AutoScope (ByteCodeExprGen< Emitter > *Ctx) | |
![]() | |
LocalScope (ByteCodeExprGen< Emitter > *Ctx) | |
~LocalScope () override | |
Emit a Destroy op for this scope. | |
void | emitDestruction () override |
Overriden to support explicit destruction. | |
void | addLocal (const Scope::Local &Local) override |
void | emitDestructors () 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 () |
virtual void | emitDestructors () |
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. | |
Expression scope which tracks potentially lifetime extended temporaries which are hoisted to the parent scope on exit.
Definition at line 446 of file ByteCodeExprGen.h.
|
inline |
Definition at line 448 of file ByteCodeExprGen.h.
|
inlineoverridevirtual |
Reimplemented from clang::interp::VariableScope< Emitter >.
Definition at line 450 of file ByteCodeExprGen.h.
References Parent.