Lines Matching refs:PrevDiag

2626   diag::kind PrevDiag;  in getNoteDiagForInvalidRedeclaration()  local
2629 PrevDiag = diag::note_previous_definition; in getNoteDiagForInvalidRedeclaration()
2631 PrevDiag = diag::note_previous_implicit_declaration; in getNoteDiagForInvalidRedeclaration()
2635 PrevDiag = diag::note_previous_declaration; in getNoteDiagForInvalidRedeclaration()
2636 return std::make_pair(PrevDiag, OldLocation); in getNoteDiagForInvalidRedeclaration()
2770 diag::kind PrevDiag; in MergeFunctionDecl() local
2772 std::tie(PrevDiag, OldLocation) = in MergeFunctionDecl()
2786 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
2789 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
2913 Diag(OldLocation, PrevDiag) << Old << Old->getType(); in MergeFunctionDecl()
2950 Diag(OldLocation, PrevDiag) << Old << Old->getType() in MergeFunctionDecl()
2997 Diag(OldLocation, PrevDiag) << Old << Old->getType(); in MergeFunctionDecl()
3021 Diag(OldLocation, PrevDiag) << Old << Old->getType(); in MergeFunctionDecl()
3095 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
3098 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
3246 PrevDiag = diag::note_previous_builtin_declaration; in MergeFunctionDecl()
3250 Diag(OldLocation, PrevDiag) << Old << Old->getType(); in MergeFunctionDecl()
3329 diag::kind PrevDiag; in diagnoseVarDeclTypeMismatch() local
3331 std::tie(PrevDiag, OldLocation) in diagnoseVarDeclTypeMismatch()
3333 S.Diag(OldLocation, PrevDiag); in diagnoseVarDeclTypeMismatch()
3558 diag::kind PrevDiag; in MergeVarDecl() local
3560 std::tie(PrevDiag, OldLocation) = in MergeVarDecl()
3570 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3574 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3593 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3601 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3607 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3620 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3644 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3647 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3655 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3688 Diag(OldLocation, PrevDiag); in MergeVarDecl()