Lines Matching defs:InDiag
55 /// InDiag - The note to emit if there is a jump into this scope.
56 unsigned InDiag;
66 GotoScope(unsigned parentScope, unsigned InDiag, unsigned OutDiag,
68 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {}
145 unsigned InDiag = 0;
149 InDiag = diag::note_protected_by_vla;
199 InDiag = diag::note_protected_by_variable_init;
209 InDiag = diag::note_protected_by_variable_nontriv_destructor;
211 InDiag = diag::note_protected_by_variable_non_pod;
213 InDiag = 0;
218 return ScopePair(InDiag, OutDiag);
294 unsigned InDiag = diag::note_enters_compound_literal_scope;
296 Scopes.push_back(GotoScope(ParentScope, InDiag, OutDiag, CLE->getExprLoc()));
747 /// A path in is trivial if none of the entered scopes have an InDiag.
816 if (Scopes[Min].InDiag) break;
892 if (Scopes[ToScopes[I]].InDiag)
893 S.Diag(Scopes[ToScopes[I]].Loc, Scopes[ToScopes[I]].InDiag);
917 if (IsCXX98CompatWarning(S, Scopes[I].InDiag))
919 else if (Scopes[I].InDiag) {
921 S.Diag(Scopes[I].Loc, Scopes[I].InDiag);
957 if (Scopes[I].InDiag == diag::note_protected_by_seh_finally) {
960 } else if (Scopes[I].InDiag ==
965 } else if (Scopes[I].InDiag ==
985 IsMicrosoftJumpWarning(JumpDiagError, Scopes[I].InDiag))
987 else if (IsCXX98CompatWarning(S, Scopes[I].InDiag))
989 else if (Scopes[I].InDiag)