Lines Matching defs:JumpScope
690 unsigned JumpScope = LabelAndGotoScopes[G];
692 if (JumpScope != TargetScope)
693 DiagnoseIndirectOrAsmJump(G, JumpScope, LD, TargetScope);
756 using JumpScope = std::pair<unsigned, Stmt *>;
757 SmallVector<JumpScope, 32> JumpScopes;
814 for (auto [JumpScope, JumpStmt] : JumpScopes) {
815 unsigned Scope = JumpScope;
826 for (unsigned S = JumpScope; S != Scope; S = Scopes[S].ParentScope)
845 DiagnoseIndirectOrAsmJump(JumpStmt, JumpScope, TargetLabel, TargetScope);
888 void JumpScopeChecker::DiagnoseIndirectOrAsmJump(Stmt *Jump, unsigned JumpScope,
891 if (CHECK_PERMISSIVE(JumpScope == TargetScope))
894 unsigned Common = GetDeepestCommonScope(JumpScope, TargetScope);
898 for (unsigned I = JumpScope; I != Common; I = Scopes[I].ParentScope)