Home
last modified time | relevance | path

Searched refs:LabelScope (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp23 template <class Emitter> class LabelScope { class
25 virtual ~LabelScope() { } in ~LabelScope()
28 LabelScope(ByteCodeStmtGen<Emitter> *Ctx) : Ctx(Ctx) {} in LabelScope() function in clang::interp::LabelScope
34 template <class Emitter> class LoopScope final : public LabelScope<Emitter> {
41 : LabelScope<Emitter>(Ctx), OldBreakLabel(Ctx->BreakLabel), in LoopScope()
58 template <class Emitter> class SwitchScope final : public LabelScope<Emitter> {
66 : LabelScope<Emitter>(Ctx), OldBreakLabel(Ctx->BreakLabel), in SwitchScope()
H A DByteCodeStmtGen.h27 template <class Emitter> class LabelScope; variable
46 friend class LabelScope<Emitter>;
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp770 unsigned LabelScope = LabelAndGotoScopes[TheLabel->getStmt()]; in VerifyIndirectJumps() local
771 if (!TargetScopes.contains(LabelScope)) in VerifyIndirectJumps()
772 TargetScopes[LabelScope] = TheLabel; in VerifyIndirectJumps()