Searched refs:newDecl (Results 1 – 2 of 2) sorted by relevance
183 ParmVarDecl *newDecl = (*ni); in CheckObjCMethodOverride() local184 if (newDecl->hasAttr<NSConsumedAttr>() != in CheckObjCMethodOverride()186 Diag(newDecl->getLocation(), in CheckObjCMethodOverride()
2426 static void mergeParamDeclAttributes(ParmVarDecl *newDecl, in mergeParamDeclAttributes() argument2433 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes()2450 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()2454 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()2457 if (!DeclHasAttr(newDecl, I)) { in mergeParamDeclAttributes()2461 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()2466 if (!foundAny) newDecl->dropAttrs(); in mergeParamDeclAttributes()