clang  10.0.0svn
Public Types | Public Member Functions | List of all members
clang::interp::OptionScope< Emitter > Class Template Reference

Scope used to handle initialization methods. More...

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

Public Types

using InitFnRef = typename ByteCodeExprGen< Emitter >::InitFnRef
 
using ChainedInitFnRef = std::function< bool(InitFnRef)>
 

Public Member Functions

 OptionScope (ByteCodeExprGen< Emitter > *Ctx, bool NewDiscardResult)
 Root constructor, compiling or discarding primitives. More...
 
 OptionScope (ByteCodeExprGen< Emitter > *Ctx, InitFnRef NewInitFn)
 Root constructor, setting up compilation state. More...
 
 OptionScope (ByteCodeExprGen< Emitter > *Ctx, ChainedInitFnRef NewInitFn)
 Extends the chain of initialisation pointers. More...
 
 ~OptionScope ()
 

Detailed Description

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

Scope used to handle initialization methods.

Definition at line 43 of file ByteCodeExprGen.cpp.

Member Typedef Documentation

◆ ChainedInitFnRef

template<class Emitter>
using clang::interp::OptionScope< Emitter >::ChainedInitFnRef = std::function<bool(InitFnRef)>

Definition at line 46 of file ByteCodeExprGen.cpp.

◆ InitFnRef

template<class Emitter>
using clang::interp::OptionScope< Emitter >::InitFnRef = typename ByteCodeExprGen<Emitter>::InitFnRef

Definition at line 45 of file ByteCodeExprGen.cpp.

Constructor & Destructor Documentation

◆ OptionScope() [1/3]

template<class Emitter>
clang::interp::OptionScope< Emitter >::OptionScope ( ByteCodeExprGen< Emitter > *  Ctx,
bool  NewDiscardResult 
)
inline

Root constructor, compiling or discarding primitives.

Definition at line 49 of file ByteCodeExprGen.cpp.

References clang::interp::ByteCodeExprGen< Emitter >::DiscardResult, and clang::interp::ByteCodeExprGen< Emitter >::InitFn.

◆ OptionScope() [2/3]

template<class Emitter>
clang::interp::OptionScope< Emitter >::OptionScope ( ByteCodeExprGen< Emitter > *  Ctx,
InitFnRef  NewInitFn 
)
inline

Root constructor, setting up compilation state.

Definition at line 57 of file ByteCodeExprGen.cpp.

References clang::interp::ByteCodeExprGen< Emitter >::DiscardResult, and clang::interp::ByteCodeExprGen< Emitter >::InitFn.

◆ OptionScope() [3/3]

template<class Emitter>
clang::interp::OptionScope< Emitter >::OptionScope ( ByteCodeExprGen< Emitter > *  Ctx,
ChainedInitFnRef  NewInitFn 
)
inline

Extends the chain of initialisation pointers.

Definition at line 65 of file ByteCodeExprGen.cpp.

References clang::interp::ByteCodeExprGen< Emitter >::InitFn.

◆ ~OptionScope()

template<class Emitter>
clang::interp::OptionScope< Emitter >::~OptionScope ( )
inline

Definition at line 72 of file ByteCodeExprGen.cpp.


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