Lines Matching refs:OldD
1517 NamedDecl *OldD = OldDecls.getRepresentativeDecl();
1518 if (OldD->getLocation().isValid())
1519 Diag(OldD->getLocation(), diag::note_previous_definition);
1738 bool Sema::MergeFunctionDecl(FunctionDecl *New, Decl *OldD, Scope *S) {
1742 = dyn_cast<FunctionTemplateDecl>(OldD))
1745 Old = dyn_cast<FunctionDecl>(OldD);
1747 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) {
1758 Diag(OldD->getLocation(), diag::note_previous_definition);