Searched refs:oldDecl (Results 1 – 2 of 2) sorted by relevance
180 const ParmVarDecl *oldDecl = (*oi); in CheckObjCMethodOverride() local183 oldDecl->hasAttr<NSConsumedAttr>()) { in CheckObjCMethodOverride()186 Diag(oldDecl->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride()
2444 const ParmVarDecl *oldDecl, in mergeParamDeclAttributes() argument2451 if (CDA && !oldDecl->hasAttr<CarriesDependencyAttr>()) { in mergeParamDeclAttributes()2457 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes()2459 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes()2464 if (!oldDecl->hasAttrs()) in mergeParamDeclAttributes()2473 for (const auto *I : oldDecl->specific_attrs<InheritableParamAttr>()) { in mergeParamDeclAttributes()