Searched refs:newDecl (Results 1 – 2 of 2) sorted by relevance
209 ParmVarDecl *newDecl = (*ni); in CheckObjCMethodOverride() local210 if (newDecl->hasAttr<NSConsumedAttr>() != in CheckObjCMethodOverride()212 Diag(newDecl->getLocation(), in CheckObjCMethodOverride()219 diagnoseNoescape(newDecl, oldDecl, *this); in CheckObjCMethodOverride()
3317 static void mergeParamDeclAttributes(ParmVarDecl *newDecl, in mergeParamDeclAttributes() argument3324 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes()3341 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()3345 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()3348 if (!DeclHasAttr(newDecl, I)) { in mergeParamDeclAttributes()3352 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()3357 if (!foundAny) newDecl->dropAttrs(); in mergeParamDeclAttributes()