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()200 InDiag = 0; in GetDiagForGotoScopeDecl()205 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()727 if (Scopes[Min].InDiag) break; in VerifyIndirectJumps()802 if (Scopes[ToScopes[I]].InDiag) in NoteJumpIntoScopes()830 else if (Scopes[I].InDiag) { in DiagnoseIndirectJump()832 S.Diag(Scopes[I].Loc, Scopes[I].InDiag); in DiagnoseIndirectJump()[all …]
669 const StoredDiagnostic &InDiag);1237 const StoredDiagnostic &InDiag) { in makeStandaloneDiagnostic() argument1239 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()1240 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()1241 OutDiag.Message = InDiag.getMessage(); in makeStandaloneDiagnostic()1243 if (InDiag.getLocation().isInvalid()) in makeStandaloneDiagnostic()1245 const SourceManager &SM = InDiag.getLocation().getManager(); in makeStandaloneDiagnostic()1246 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()1251 for (const auto &Range : InDiag.getRanges()) in makeStandaloneDiagnostic()1253 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic()