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

Scope chain managing the variable lifetimes. More...

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/AST/Interp/ByteCodeExprGen.h"

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

Public Member Functions

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

Protected Member Functions

 VariableScope (ByteCodeExprGen< Emitter > *Ctx)
 

Protected Attributes

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

Detailed Description

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

Scope chain managing the variable lifetimes.

Definition at line 35 of file ByteCodeExprGen.h.

Constructor & Destructor Documentation

◆ ~VariableScope()

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

Definition at line 242 of file ByteCodeExprGen.h.

References Parent.

◆ VariableScope()

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

Member Function Documentation

◆ add()

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

Definition at line 244 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 251 of file ByteCodeExprGen.h.

References Parent.

◆ emitDestruction()

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

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

Definition at line 261 of file ByteCodeExprGen.h.

◆ getParent()

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

Definition at line 263 of file ByteCodeExprGen.h.

References Parent.

Member Data Documentation

◆ Ctx

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

ByteCodeExprGen instance.

Definition at line 272 of file ByteCodeExprGen.h.

◆ Parent

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

Link to the parent scope.

Definition at line 274 of file ByteCodeExprGen.h.


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