Home | History | Annotate | Download | only in Sema

Lines Matching refs:newDecl

1532 static void mergeDeclAttributes(Decl *newDecl, const Decl *oldDecl,
1537 bool foundAny = newDecl->hasAttrs();
1541 if (!foundAny) newDecl->setAttrs(AttrVec());
1553 if (!DeclHasAttr(newDecl, *i)) {
1556 newDecl->addAttr(newAttr);
1561 if (!foundAny) newDecl->dropAttrs();
1566 static void mergeParamDeclAttributes(ParmVarDecl *newDecl,
1572 bool foundAny = newDecl->hasAttrs();
1576 if (!foundAny) newDecl->setAttrs(AttrVec());
1581 if (!DeclHasAttr(newDecl, *i)) {
1584 newDecl->addAttr(newAttr);
1589 if (!foundAny) newDecl->dropAttrs();