Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp779 unsigned LabelScope = LabelAndGotoScopes[TheLabel->getStmt()]; in VerifyIndirectJumps() local
780 if (!TargetScopes.contains(LabelScope)) in VerifyIndirectJumps()
781 TargetScopes[LabelScope] = TheLabel; in VerifyIndirectJumps()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.h41 template <class Emitter> class LabelScope; variable
308 friend class LabelScope<Emitter>; variable
H A DCompiler.cpp99 template <class Emitter> class LabelScope { class
101 virtual ~LabelScope() {} in ~LabelScope()
104 LabelScope(Compiler<Emitter> *Ctx) : Ctx(Ctx) {} in LabelScope() function in clang::interp::LabelScope
110 template <class Emitter> class LoopScope final : public LabelScope<Emitter> {
116 : LabelScope<Emitter>(Ctx), OldBreakLabel(Ctx->BreakLabel), in LoopScope()
133 template <class Emitter> class SwitchScope final : public LabelScope<Emitter> {
141 : LabelScope<Emitter>(Ctx), OldBreakLabel(Ctx->BreakLabel), in SwitchScope()