Searched refs:InDiag (Results 1 – 2 of 2) sorted by relevance
56 unsigned InDiag; member66 GotoScope(unsigned parentScope, unsigned InDiag, unsigned OutDiag, in GotoScope()68 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope()145 unsigned InDiag = 0; in GetDiagForGotoScopeDecl() local149 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl()198 InDiag = diag::note_protected_by_variable_init; in GetDiagForGotoScopeDecl()208 InDiag = diag::note_protected_by_variable_nontriv_destructor; in GetDiagForGotoScopeDecl()210 InDiag = diag::note_protected_by_variable_non_pod; in GetDiagForGotoScopeDecl()212 InDiag = 0; in GetDiagForGotoScopeDecl()217 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()[all …]
720 const StoredDiagnostic &InDiag);1297 const StoredDiagnostic &InDiag) { in makeStandaloneDiagnostic() argument1299 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()1300 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()1301 OutDiag.Message = std::string(InDiag.getMessage()); in makeStandaloneDiagnostic()1303 if (InDiag.getLocation().isInvalid()) in makeStandaloneDiagnostic()1305 const SourceManager &SM = InDiag.getLocation().getManager(); in makeStandaloneDiagnostic()1306 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()1311 for (const auto &Range : InDiag.getRanges()) in makeStandaloneDiagnostic()1313 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic()