clang 19.0.0git
Public Member Functions | List of all members
clang::interp::DeclScope< Emitter > Class Template Referencefinal

Scope used to handle temporaries in toplevel variable declarations. More...

Inheritance diagram for clang::interp::DeclScope< Emitter >:
Inheritance graph

Public Member Functions

 DeclScope (ByteCodeExprGen< Emitter > *Ctx, const ValueDecl *VD)
 ~DeclScope ()
- Public Member Functions inherited from clang::interp::VariableScope< Emitter >
 VariableScope (ByteCodeExprGen< Emitter > *Ctx, const ValueDecl *VD)
virtual ~VariableScope ()
void add (const Scope::Local &Local, bool IsExtended)
virtual void addLocal (const Scope::Local &Local)
virtual void addExtended (const Scope::Local &Local)
void addExtended (const Scope::Local &Local, const ValueDecl *ExtendingDecl)
virtual void emitDestruction ()
virtual bool emitDestructors ()
VariableScopegetParent () const

Additional Inherited Members

- Protected Attributes inherited from clang::interp::VariableScope< Emitter >
ByteCodeExprGen< Emitter > * Ctx
 ByteCodeExprGen instance.
 Link to the parent scope.
const ValueDeclValDecl = nullptr

Detailed Description

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

Scope used to handle temporaries in toplevel variable declarations.

Definition at line 29 of file ByteCodeExprGen.cpp.

Constructor & Destructor Documentation

◆ DeclScope()

template<class Emitter >
clang::interp::DeclScope< Emitter >::DeclScope ( ByteCodeExprGen< Emitter > *  Ctx,
const ValueDecl VD 

◆ ~DeclScope()

template<class Emitter >
clang::interp::DeclScope< Emitter >::~DeclScope ( )

Definition at line 40 of file ByteCodeExprGen.cpp.

References clang::interp::VariableScope< Emitter >::Ctx.

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