clang  14.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...

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

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

Public Member Functions

 DeclScope (ByteCodeExprGen< Emitter > *Ctx, const VarDecl *VD)
 
void addExtended (const Scope::Local &Local) override
 
- Public Member Functions inherited from clang::interp::LocalScope< Emitter >
 LocalScope (ByteCodeExprGen< Emitter > *Ctx)
 
 ~LocalScope () override
 
void addLocal (const Scope::Local &Local) override
 
void emitDestruction () override
 

Additional Inherited Members

- Protected Attributes inherited from clang::interp::LocalScope< Emitter >
Optional< unsignedIdx
 Index of the scope in the chain. More...
 

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 VarDecl VD 
)
inline

Definition at line 31 of file ByteCodeExprGen.cpp.

Member Function Documentation

◆ addExtended()

template<class Emitter >
void clang::interp::DeclScope< Emitter >::addExtended ( const Scope::Local Local)
inlineoverride

Definition at line 34 of file ByteCodeExprGen.cpp.


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