Lines Matching refs:PrevDiag
2552 diag::kind PrevDiag; in getNoteDiagForInvalidRedeclaration() local
2555 PrevDiag = diag::note_previous_definition; in getNoteDiagForInvalidRedeclaration()
2557 PrevDiag = diag::note_previous_implicit_declaration; in getNoteDiagForInvalidRedeclaration()
2561 PrevDiag = diag::note_previous_declaration; in getNoteDiagForInvalidRedeclaration()
2562 return std::make_pair(PrevDiag, OldLocation); in getNoteDiagForInvalidRedeclaration()
2696 diag::kind PrevDiag; in MergeFunctionDecl() local
2698 std::tie(PrevDiag, OldLocation) = in MergeFunctionDecl()
2712 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
2715 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
2839 Diag(OldLocation, PrevDiag) << Old << Old->getType(); in MergeFunctionDecl()
2876 Diag(OldLocation, PrevDiag) << Old << Old->getType() in MergeFunctionDecl()
2923 Diag(OldLocation, PrevDiag) << Old << Old->getType(); in MergeFunctionDecl()
2947 Diag(OldLocation, PrevDiag) << Old << Old->getType(); in MergeFunctionDecl()
3021 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
3024 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
3172 PrevDiag = diag::note_previous_builtin_declaration; in MergeFunctionDecl()
3176 Diag(OldLocation, PrevDiag) << Old << Old->getType(); in MergeFunctionDecl()
3330 diag::kind PrevDiag; in MergeVarDeclTypes() local
3332 std::tie(PrevDiag, OldLocation) = in MergeVarDeclTypes()
3334 Diag(OldLocation, PrevDiag); in MergeVarDeclTypes()
3471 diag::kind PrevDiag; in MergeVarDecl() local
3473 std::tie(PrevDiag, OldLocation) = in MergeVarDecl()
3483 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3487 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3506 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3514 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3520 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3533 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3540 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3543 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3551 Diag(OldLocation, PrevDiag); in MergeVarDecl()
3578 Diag(OldLocation, PrevDiag); in MergeVarDecl()