This is an archive of the discontinued LLVM Phabricator instance.

Make Attr::Clone() also clone the Inherited, IsPackExpansion and Implicit flags
ClosedPublic

Authored by hans on May 30 2014, 4:01 PM.

Details

Summary

I was bitten by this when working with the dll attributes: when a dll
attribute was cloned from a class template declaration to its
specialization, the Inherited flag didn't get cloned.

Diff Detail

Repository
rL LLVM

Event Timeline

hans updated this revision to Diff 9968.May 30 2014, 4:01 PM
hans retitled this revision from to Make Attr::Clone() also clone the Inherited, IsPackExpansion and Implicit flags.
hans updated this object.
hans edited the test plan for this revision. (Show Details)
hans added reviewers: aaron.ballman, rnk.
hans added a subscriber: Unknown Object (MLST).
rnk accepted this revision.May 30 2014, 4:53 PM
rnk edited edge metadata.

lgtm

This revision is now accepted and ready to land.May 30 2014, 4:53 PM
hans closed this revision.May 30 2014, 6:38 PM
hans updated this revision to Diff 9975.

Closed by commit rL209950 (authored by @hans).