class LoopScope

Declaration

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

Description

Sets the context for break/continue statements.

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

Templates

Emitter

Member Variables

private clang::interp::LoopScope::OptLabelTy OldBreakLabel
private clang::interp::LoopScope::OptLabelTy OldContinueLabel

Method Overview

Methods

LoopScope<Emitter>(
    ByteCodeStmtGen<Emitter>* Ctx,
    clang::interp::LoopScope::LabelTy BreakLabel,
    clang::interp::LoopScope::LabelTy
        ContinueLabel)

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

Parameters

ByteCodeStmtGen<Emitter>* Ctx
clang::interp::LoopScope::LabelTy BreakLabel
clang::interp::LoopScope::LabelTy ContinueLabel

~LoopScope<Emitter>()

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