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