This is an archive of the discontinued LLVM Phabricator instance.

Don't inherit dllimport to inline move assignment operators
ClosedPublic

Authored by hans on Jun 11 2014, 3:25 PM.

Details

Reviewers
rnk
Summary

Current MSVC versions don't have move assignment operators, so we
can't rely on them being available in the dll. If we have the
definition, we can just use that directly. This breaks pointer
equality, but should work fine otherwise.

When there is an MSVC version that supports move assignment,
we can key this off the -fmsc-ver option.

Diff Detail

Event Timeline

hans updated this revision to Diff 10336.Jun 11 2014, 3:25 PM
hans retitled this revision from to Don't inherit dllimport to inline move assignment operators.
hans updated this object.
hans edited the test plan for this revision. (Show Details)
hans added a reviewer: rnk.
hans added subscribers: Unknown Object (MLST), hansw.
rnk edited edge metadata.Jun 11 2014, 3:49 PM

lgtm

We can test with the VC "14" CTP when we get a chance.

rnk accepted this revision.Jun 11 2014, 3:49 PM
rnk edited edge metadata.
This revision is now accepted and ready to land.Jun 11 2014, 3:49 PM
hans closed this revision.Jun 13 2014, 2:34 PM

This was committed in r210550; I just forgot to put the review URL in the commit message.