reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/JumpDiagnostics.cpp
   99   Scopes.push_back(GotoScope(~0U, ~0U, ~0U, SourceLocation()));
  119       assert(Scopes[B].ParentScope < B);
  120       B = Scopes[B].ParentScope;
  122       assert(Scopes[A].ParentScope < A);
  123       A = Scopes[A].ParentScope;
  226     Scopes.push_back(GotoScope(ParentScope, Diags.first, Diags.second,
  228     ParentScope = Scopes.size()-1;
  273     Scopes.push_back(GotoScope(ParentScope,
  275     ParentScope = Scopes.size()-1;
  303     unsigned NewParentScope = Scopes.size();
  304     Scopes.push_back(GotoScope(ParentScope, Diag, 0, S->getBeginLoc()));
  369     unsigned NewParentScope = Scopes.size();
  370     Scopes.push_back(GotoScope(ParentScope, Diag, 0, IS->getBeginLoc()));
  374     NewParentScope = Scopes.size();
  375     Scopes.push_back(GotoScope(ParentScope, Diag, 0, IS->getBeginLoc()));
  378       NewParentScope = Scopes.size();
  379       Scopes.push_back(GotoScope(ParentScope, Diag, 0, IS->getBeginLoc()));
  388       unsigned NewParentScope = Scopes.size();
  389       Scopes.push_back(GotoScope(ParentScope,
  400       unsigned NewParentScope = Scopes.size();
  401       Scopes.push_back(GotoScope(ParentScope,
  413       unsigned NewParentScope = Scopes.size();
  414       Scopes.push_back(GotoScope(ParentScope,
  424       unsigned NewParentScope = Scopes.size();
  425       Scopes.push_back(GotoScope(ParentScope,
  431       unsigned NewParentScope = Scopes.size();
  432       Scopes.push_back(GotoScope(ParentScope,
  459       unsigned NewParentScope = Scopes.size();
  460       Scopes.push_back(GotoScope(ParentScope,
  471       unsigned NewParentScope = Scopes.size();
  472       Scopes.push_back(GotoScope(ParentScope,
  482       unsigned NewParentScope = Scopes.size();
  483       Scopes.push_back(GotoScope(ParentScope,
  503     unsigned NewParentScope = Scopes.size();
  504     Scopes.push_back(GotoScope(ParentScope,
  517     unsigned NewParentScope = Scopes.size();
  518     Scopes.push_back(GotoScope(ParentScope,
  552         Scopes.push_back(GotoScope(ParentScope, 0,
  555         origParentScope = Scopes.size()-1;
  726   llvm::BitVector Reachable(Scopes.size(), false);
  745       if (Scopes[Min].InDiag) break;
  747       Min = Scopes[Min].ParentScope;
  766           for (unsigned S = I->first; S != Scope; S = Scopes[S].ParentScope)
  777         if (Scopes[Scope].OutDiag) break;
  779         Scope = Scopes[Scope].ParentScope;
  823     if (Scopes[ToScopes[I]].InDiag)
  824       S.Diag(Scopes[ToScopes[I]].Loc, Scopes[ToScopes[I]].InDiag);
  824       S.Diag(Scopes[ToScopes[I]].Loc, Scopes[ToScopes[I]].InDiag);
  838   for (unsigned I = JumpScope; I != Common; I = Scopes[I].ParentScope)
  839     if (Scopes[I].OutDiag) {
  841       S.Diag(Scopes[I].Loc, Scopes[I].OutDiag);
  841       S.Diag(Scopes[I].Loc, Scopes[I].OutDiag);
  847   for (unsigned I = TargetScope; I != Common; I = Scopes[I].ParentScope)
  848     if (IsCXX98CompatWarning(S, Scopes[I].InDiag))
  850     else if (Scopes[I].InDiag) {
  852       S.Diag(Scopes[I].Loc, Scopes[I].InDiag);
  852       S.Diag(Scopes[I].Loc, Scopes[I].InDiag);
  887     for (unsigned I = FromScope; I > ToScope; I = Scopes[I].ParentScope) {
  888       if (Scopes[I].InDiag == diag::note_protected_by_seh_finally) {
  904   for (unsigned I = ToScope; I != CommonScope; I = Scopes[I].ParentScope) {
  906         IsMicrosoftJumpWarning(JumpDiagError, Scopes[I].InDiag))
  908     else if (IsCXX98CompatWarning(S, Scopes[I].InDiag))
  910     else if (Scopes[I].InDiag)