Searched refs:OldAttr (Results 1 – 2 of 2) sorted by relevance
235 auto &OldAttr = AttrMap[V]; in add() local236 auto NewAttr = OldAttr | Attr; in add()237 if (OldAttr == NewAttr) in add()239 OldAttr = NewAttr; in add()
2429 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes() local2430 UsedAttr *NewAttr = OldAttr->clone(Context); in mergeDeclAttributes()