Lines Matching refs:OldLocation

2553   SourceLocation OldLocation = Old->getLocation();  in getNoteDiagForInvalidRedeclaration()  local
2558 if (OldLocation.isInvalid()) in getNoteDiagForInvalidRedeclaration()
2559 OldLocation = New->getLocation(); in getNoteDiagForInvalidRedeclaration()
2562 return std::make_pair(PrevDiag, OldLocation); in getNoteDiagForInvalidRedeclaration()
2697 SourceLocation OldLocation; in MergeFunctionDecl() local
2698 std::tie(PrevDiag, OldLocation) = in MergeFunctionDecl()
2712 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
2715 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
2788 Diag(OldLocation, diag::note_previous_declaration); in MergeFunctionDecl()
2800 Diag(OldLocation, diag::note_previous_declaration); 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()
3155 Diag(OldLocation, diag::note_previous_builtin_declaration) in MergeFunctionDecl()
3176 Diag(OldLocation, PrevDiag) << Old << Old->getType(); in MergeFunctionDecl()
3331 SourceLocation OldLocation; in MergeVarDeclTypes() local
3332 std::tie(PrevDiag, OldLocation) = in MergeVarDeclTypes()
3334 Diag(OldLocation, PrevDiag); in MergeVarDeclTypes()
3472 SourceLocation OldLocation; 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()