Searched refs:InDiag (Results 1 – 2 of 2) sorted by relevance
50 unsigned InDiag; member62 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope()133 unsigned InDiag = 0; in GetDiagForGotoScopeDecl() local137 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl()193 InDiag = 0; in GetDiagForGotoScopeDecl()198 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()626 if (Scopes[Min].InDiag) break; in VerifyIndirectJumps()701 if (Scopes[ToScopes[I]].InDiag) in NoteJumpIntoScopes()729 else if (Scopes[I].InDiag) { in DiagnoseIndirectJump()731 S.Diag(Scopes[I].Loc, Scopes[I].InDiag); in DiagnoseIndirectJump()[all …]
1295 const StoredDiagnostic &InDiag) { in makeStandaloneDiagnostic() argument1297 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()1298 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()1299 OutDiag.Message = InDiag.getMessage(); in makeStandaloneDiagnostic()1301 if (InDiag.getLocation().isInvalid()) in makeStandaloneDiagnostic()1303 const SourceManager &SM = InDiag.getLocation().getManager(); in makeStandaloneDiagnostic()1304 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()1310 I = InDiag.range_begin(), E = InDiag.range_end(); I != E; ++I) { in makeStandaloneDiagnostic()1313 for (StoredDiagnostic::fixit_iterator I = InDiag.fixit_begin(), in makeStandaloneDiagnostic()1314 E = InDiag.fixit_end(); in makeStandaloneDiagnostic()