Lines Matching defs:OldD
1821 NamedDecl *OldD = OldDecls.getRepresentativeDecl();
1822 if (OldD->getLocation().isValid())
1823 Diag(OldD->getLocation(), diag::note_previous_definition);
2390 bool Sema::MergeFunctionDecl(FunctionDecl *New, NamedDecl *&OldD,
2393 FunctionDecl *Old = OldD->getAsFunction();
2395 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) {
2426 OldD = Old;
2430 Diag(OldD->getLocation(), diag::note_previous_definition);