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()
2982 static void mergeParamDeclAttributes(ParmVarDecl *newDecl, in mergeParamDeclAttributes() argument2989 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes()3006 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()3010 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()3013 if (!DeclHasAttr(newDecl, I)) { in mergeParamDeclAttributes()3017 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()3022 if (!foundAny) newDecl->dropAttrs(); in mergeParamDeclAttributes()