Lines Matching defs:JumpScope
700 unsigned JumpScope = LabelAndGotoScopes[G];
702 if (JumpScope != TargetScope)
703 DiagnoseIndirectOrAsmJump(G, JumpScope, LD, TargetScope);
766 using JumpScope = std::pair<unsigned, Stmt *>;
767 SmallVector<JumpScope, 32> JumpScopes;
823 for (auto [JumpScope, JumpStmt] : JumpScopes) {
824 unsigned Scope = JumpScope;
835 for (unsigned S = JumpScope; S != Scope; S = Scopes[S].ParentScope)
854 DiagnoseIndirectOrAsmJump(JumpStmt, JumpScope, TargetLabel, TargetScope);
897 void JumpScopeChecker::DiagnoseIndirectOrAsmJump(Stmt *Jump, unsigned JumpScope,
900 if (CHECK_PERMISSIVE(JumpScope == TargetScope))
903 unsigned Common = GetDeepestCommonScope(JumpScope, TargetScope);
907 for (unsigned I = JumpScope; I != Common; I = Scopes[I].ParentScope)