clang 19.0.0git
Public Member Functions | Protected Attributes | List of all members
clang::interp::VariableScope< Emitter > Class Template Reference

Scope chain managing the variable lifetimes. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/Interp/ByteCodeExprGen.h"

Inheritance diagram for clang::interp::VariableScope< Emitter >:
Inheritance graph
[legend]

Public Member Functions

 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 ()
 
VariableScopegetParent () const
 

Protected Attributes

ByteCodeExprGen< Emitter > * Ctx
 ByteCodeExprGen instance.
 
VariableScopeParent
 Link to the parent scope.
 

Detailed Description

template<class Emitter>
class clang::interp::VariableScope< Emitter >

Scope chain managing the variable lifetimes.

Definition at line 320 of file ByteCodeExprGen.h.

Constructor & Destructor Documentation

◆ VariableScope()

template<class Emitter >
clang::interp::VariableScope< Emitter >::VariableScope ( ByteCodeExprGen< Emitter > *  Ctx)
inline

◆ ~VariableScope()

template<class Emitter >
virtual clang::interp::VariableScope< Emitter >::~VariableScope ( )
inlinevirtual

Definition at line 327 of file ByteCodeExprGen.h.

References Parent.

Member Function Documentation

◆ add()

template<class Emitter >
void clang::interp::VariableScope< Emitter >::add ( const Scope::Local Local,
bool  IsExtended 
)
inline

Definition at line 329 of file ByteCodeExprGen.h.

◆ addExtended()

template<class Emitter >
virtual void clang::interp::VariableScope< Emitter >::addExtended ( const Scope::Local Local)
inlinevirtual

◆ addLocal()

template<class Emitter >
virtual void clang::interp::VariableScope< Emitter >::addLocal ( const Scope::Local Local)
inlinevirtual

Reimplemented in clang::interp::LocalScope< Emitter >.

Definition at line 336 of file ByteCodeExprGen.h.

References Parent.

Referenced by clang::interp::DeclScope< Emitter >::addExtended().

◆ emitDestruction()

template<class Emitter >
virtual void clang::interp::VariableScope< Emitter >::emitDestruction ( )
inlinevirtual

Reimplemented in clang::interp::LocalScope< Emitter >.

Definition at line 346 of file ByteCodeExprGen.h.

◆ emitDestructors()

template<class Emitter >
virtual bool clang::interp::VariableScope< Emitter >::emitDestructors ( )
inlinevirtual

Reimplemented in clang::interp::LocalScope< Emitter >.

Definition at line 347 of file ByteCodeExprGen.h.

◆ getParent()

template<class Emitter >
VariableScope * clang::interp::VariableScope< Emitter >::getParent ( ) const
inline

Definition at line 348 of file ByteCodeExprGen.h.

References Parent.

Member Data Documentation

◆ Ctx

template<class Emitter >
ByteCodeExprGen<Emitter>* clang::interp::VariableScope< Emitter >::Ctx
protected

◆ Parent

template<class Emitter >
VariableScope* clang::interp::VariableScope< Emitter >::Parent
protected

Link to the parent scope.

Definition at line 354 of file ByteCodeExprGen.h.


The documentation for this class was generated from the following file: