• Home
  • Raw
  • Download

Lines Matching refs:Scopes

61   SmallVector<GotoScope, 48> Scopes;  member in __anon40024a0b0111::JumpScopeChecker
91 Scopes.push_back(GotoScope(~0U, ~0U, ~0U, SourceLocation())); in JumpScopeChecker()
110 assert(Scopes[B].ParentScope < B); in GetDeepestCommonScope()
111 B = Scopes[B].ParentScope; in GetDeepestCommonScope()
113 assert(Scopes[A].ParentScope < A); in GetDeepestCommonScope()
114 A = Scopes[A].ParentScope; in GetDeepestCommonScope()
224 Scopes.push_back(GotoScope(ParentScope, Diags.first, Diags.second, in BuildScopeInformation()
226 ParentScope = Scopes.size()-1; in BuildScopeInformation()
267 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
269 ParentScope = Scopes.size()-1; in BuildScopeInformation()
371 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
376 BuildScopeInformation(TryPart, (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
381 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
387 (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
392 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
396 BuildScopeInformation(AF, (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
412 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
417 (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
424 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
429 BuildScopeInformation(TryBlock, (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
434 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
439 (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
449 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
453 BuildScopeInformation(AS->getSubStmt(), (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
582 llvm::BitVector Reachable(Scopes.size(), false); in VerifyIndirectJumps()
601 if (Scopes[Min].InDiag) break; in VerifyIndirectJumps()
603 Min = Scopes[Min].ParentScope; in VerifyIndirectJumps()
622 for (unsigned S = I->first; S != Scope; S = Scopes[S].ParentScope) in VerifyIndirectJumps()
633 if (Scopes[Scope].OutDiag) break; in VerifyIndirectJumps()
635 Scope = Scopes[Scope].ParentScope; in VerifyIndirectJumps()
675 if (Scopes[ToScopes[I]].InDiag) in NoteJumpIntoScopes()
676 S.Diag(Scopes[ToScopes[I]].Loc, Scopes[ToScopes[I]].InDiag); in NoteJumpIntoScopes()
690 for (unsigned I = JumpScope; I != Common; I = Scopes[I].ParentScope) in DiagnoseIndirectJump()
691 if (Scopes[I].OutDiag) { in DiagnoseIndirectJump()
693 S.Diag(Scopes[I].Loc, Scopes[I].OutDiag); in DiagnoseIndirectJump()
699 for (unsigned I = TargetScope; I != Common; I = Scopes[I].ParentScope) in DiagnoseIndirectJump()
700 if (IsCXX98CompatWarning(S, Scopes[I].InDiag)) in DiagnoseIndirectJump()
702 else if (Scopes[I].InDiag) { in DiagnoseIndirectJump()
704 S.Diag(Scopes[I].Loc, Scopes[I].InDiag); in DiagnoseIndirectJump()
739 for (unsigned I = ToScope; I != CommonScope; I = Scopes[I].ParentScope) { in CheckJump()
741 IsMicrosoftJumpWarning(JumpDiagError, Scopes[I].InDiag)) in CheckJump()
743 else if (IsCXX98CompatWarning(S, Scopes[I].InDiag)) in CheckJump()
745 else if (Scopes[I].InDiag) in CheckJump()