class SwitchScope

Declaration

template <class Emitter>
class SwitchScope { /* full declaration omitted */ };

Declared at: clang/lib/AST/Interp/ByteCodeStmtGen.cpp:61

Templates

Emitter

Member Variables

private clang::interp::SwitchScope::OptLabelTy OldBreakLabel
private clang::interp::SwitchScope::OptLabelTy OldDefaultLabel
private clang::interp::SwitchScope::CaseMap OldCaseLabels

Method Overview

  • public SwitchScope<Emitter>(ByteCodeStmtGen<Emitter> * Ctx, clang::interp::SwitchScope::CaseMap && CaseLabels, clang::interp::SwitchScope::LabelTy BreakLabel, clang::interp::SwitchScope::OptLabelTy DefaultLabel)
  • public ~SwitchScope<Emitter>()

Methods

SwitchScope<Emitter>(
    ByteCodeStmtGen<Emitter>* Ctx,
    clang::interp::SwitchScope::CaseMap&&
        CaseLabels,
    clang::interp::SwitchScope::LabelTy
        BreakLabel,
    clang::interp::SwitchScope::OptLabelTy
        DefaultLabel)

Declared at: clang/lib/AST/Interp/ByteCodeStmtGen.cpp:67

Parameters

ByteCodeStmtGen<Emitter>* Ctx
clang::interp::SwitchScope::CaseMap&& CaseLabels
clang::interp::SwitchScope::LabelTy BreakLabel
clang::interp::SwitchScope::OptLabelTy DefaultLabel

~SwitchScope<Emitter>()

Declared at: clang/lib/AST/Interp/ByteCodeStmtGen.cpp:77