Lines Matching refs:OldD
2275 NamedDecl *OldD = OldDecls.getRepresentativeDecl();
2276 if (OldD->getLocation().isValid())
2277 notePreviousDefinition(OldD, New->getLocation());
3126 DeclaratorDecl *OldD) {
3142 auto *SemaDC = OldD->getDeclContext()->getRedeclContext();
3147 NewD->isInvalidDecl() || OldD->isInvalidDecl()) &&
3176 bool Sema::MergeFunctionDecl(FunctionDecl *New, NamedDecl *&OldD,
3179 FunctionDecl *Old = OldD->getAsFunction();
3181 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) {
3194 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl());
3198 notePreviousDefinition(OldD, New->getLocation());
9731 /// \param OldD The old declaration.
9734 bool Sema::canFullyTypeCheckRedeclaration(ValueDecl *NewD, ValueDecl *OldD,
9752 if (OldT->isDependentType() && OldD->isLocalExternDecl())