Lines Matching refs:newDecl
2152 static void mergeParamDeclAttributes(ParmVarDecl *newDecl,
2159 if (newDecl->hasAttr<CarriesDependencyAttr>() &&
2161 S.Diag(newDecl->getAttr<CarriesDependencyAttr>()->getLocation(),
2176 bool foundAny = newDecl->hasAttrs();
2180 if (!foundAny) newDecl->setAttrs(AttrVec());
2185 if (!DeclHasAttr(newDecl, *i)) {
2189 newDecl->addAttr(newAttr);
2194 if (!foundAny) newDecl