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()795 if (Scopes[Min].InDiag) break; in VerifyIndirectOrAsmJumps()873 if (Scopes[ToScopes[I]].InDiag) in NoteJumpIntoScopes()900 else if (Scopes[I].InDiag) { in DiagnoseIndirectOrAsmJump()902 S.Diag(Scopes[I].Loc, Scopes[I].InDiag); in DiagnoseIndirectOrAsmJump()[all …]
677 const StoredDiagnostic &InDiag);1248 const StoredDiagnostic &InDiag) { in makeStandaloneDiagnostic() argument1250 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()1251 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()1252 OutDiag.Message = std::string(InDiag.getMessage()); in makeStandaloneDiagnostic()1254 if (InDiag.getLocation().isInvalid()) in makeStandaloneDiagnostic()1256 const SourceManager &SM = InDiag.getLocation().getManager(); in makeStandaloneDiagnostic()1257 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()1262 for (const auto &Range : InDiag.getRanges()) in makeStandaloneDiagnostic()1264 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic()