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()146 unsigned InDiag = 0; in GetDiagForGotoScopeDecl() local150 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl()213 InDiag = 0; in GetDiagForGotoScopeDecl()218 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()790 if (Scopes[Min].InDiag) break; in VerifyIndirectOrAsmJumps()868 if (Scopes[ToScopes[I]].InDiag) in NoteJumpIntoScopes()895 else if (Scopes[I].InDiag) { in DiagnoseIndirectOrAsmJump()897 S.Diag(Scopes[I].Loc, Scopes[I].InDiag); in DiagnoseIndirectOrAsmJump()[all …]
677 const StoredDiagnostic &InDiag);1251 const StoredDiagnostic &InDiag) { in makeStandaloneDiagnostic() argument1253 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()1254 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()1255 OutDiag.Message = std::string(InDiag.getMessage()); in makeStandaloneDiagnostic()1257 if (InDiag.getLocation().isInvalid()) in makeStandaloneDiagnostic()1259 const SourceManager &SM = InDiag.getLocation().getManager(); in makeStandaloneDiagnostic()1260 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()1265 for (const auto &Range : InDiag.getRanges()) in makeStandaloneDiagnostic()1267 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic()