Home | History | Annotate | Download | only in AST

Lines Matching refs:OldD

1220 bool NamedDecl::declarationReplaces(NamedDecl *OldD) const {
1221 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch");
1228 cast<UsingDirectiveDecl>(OldD)->getNominatedNamespace()
1234 return FD->getPreviousDecl() == OldD;
1240 = dyn_cast<FunctionTemplateDecl>(OldD))
1248 if (isa<ObjCInterfaceDecl>(this) && isa<ObjCCompatibleAliasDecl>(OldD))
1251 if (isa<UsingShadowDecl>(this) && isa<UsingShadowDecl>(OldD))
1253 cast<UsingShadowDecl>(OldD)->getTargetDecl();
1255 if (isa<UsingDecl>(this) && isa<UsingDecl>(OldD)) {
1260 cast<UsingDecl>(OldD)->getQualifier());
1265 if ((isa<TypedefNameDecl>(this) && isa<ObjCInterfaceDecl>(OldD)) ||
1266 (isa<ObjCInterfaceDecl>(this) && isa<TypedefNameDecl>(OldD)))
1272 return this->getKind() == OldD->getKind();