[PATCH] D20422: [MSVC2015] dllexport for defaulted special class members

Dmitry Polukhin via cfe-commits cfe-commits at lists.llvm.org
Thu May 19 04:53:53 PDT 2016

DmitryPolukhin created this revision.
DmitryPolukhin added a reviewer: rnk.
DmitryPolukhin added a subscriber: cfe-commits.

Clang doesn't dllexport defaulted special member function defaulted inside class but does it if they defaulted outside class. MSVC doesn't make any distinction where they were defaulted. Also MSVC 2013 and 2015 export different set of members. MSVC2015 doesn't emit trivial defaulted x-tors but does emit copy assign operator.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20422.57763.patch
Type: text/x-patch
Size: 15445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160519/483204b5/attachment-0001.bin>

More information about the cfe-commits mailing list