Searched refs:InDiag (Results 1 – 2 of 2) sorted by relevance
50 unsigned InDiag; member60 GotoScope(unsigned parentScope, unsigned InDiag, unsigned OutDiag, in GotoScope()62 : 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()182 InDiag = diag::note_protected_by_variable_init; in GetDiagForGotoScopeDecl()192 InDiag = diag::note_protected_by_variable_nontriv_destructor; in GetDiagForGotoScopeDecl()194 InDiag = diag::note_protected_by_variable_non_pod; in GetDiagForGotoScopeDecl()196 InDiag = 0; in GetDiagForGotoScopeDecl()201 return ScopePair(InDiag, OutDiag); in GetDiagForGotoScopeDecl()[all …]
1299 const StoredDiagnostic &InDiag) { in makeStandaloneDiagnostic() argument1301 OutDiag.ID = InDiag.getID(); in makeStandaloneDiagnostic()1302 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()1303 OutDiag.Message = InDiag.getMessage(); in makeStandaloneDiagnostic()1305 if (InDiag.getLocation().isInvalid()) in makeStandaloneDiagnostic()1307 const SourceManager &SM = InDiag.getLocation().getManager(); in makeStandaloneDiagnostic()1308 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()1313 for (const CharSourceRange &Range : InDiag.getRanges()) in makeStandaloneDiagnostic()1315 for (const FixItHint &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic()