Searched refs:InDiag (Results 1 – 2 of 2) sorted by relevance
55 unsigned InDiag; member67 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope()144 unsigned InDiag = 0; in GetDiagForGotoScopeDecl() local148 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl()211 InDiag = 0; in GetDiagForGotoScopeDecl()216 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()798 if (Scopes[Min].InDiag) break; in VerifyIndirectJumps()874 if (Scopes[ToScopes[I]].InDiag) in NoteJumpIntoScopes()901 else if (Scopes[I].InDiag) { in DiagnoseIndirectOrAsmJump()903 S.Diag(Scopes[I].Loc, Scopes[I].InDiag); in DiagnoseIndirectOrAsmJump()[all …]
709 const StoredDiagnostic &InDiag);1284 const StoredDiagnostic &InDiag) { in makeStandaloneDiagnostic() argument1286 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()1287 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()1288 OutDiag.Message = std::string(InDiag.getMessage()); in makeStandaloneDiagnostic()1290 if (InDiag.getLocation().isInvalid()) in makeStandaloneDiagnostic()1292 const SourceManager &SM = InDiag.getLocation().getManager(); in makeStandaloneDiagnostic()1293 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()1298 for (const auto &Range : InDiag.getRanges()) in makeStandaloneDiagnostic()1300 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic()