[PATCH] D18430: For MS ABI, emit dllexport friend functions defined inline in class
Stephan Bergmann via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 24 01:22:43 PDT 2016
sberg created this revision.
sberg added a reviewer: rnk.
sberg added a subscriber: cfe-commits.
...as that is apparently what MSVC does. This is an updated version of r263738,
which had to be reverted in r263740 due to test failures. The original version
had erroneously emitted functions that are defined in class templates, too (see
the updated "Handle friend functions" code in EmitDeferredDecls,
lib/CodeGen/ModuleBuilder.cpp). (The updated tests needed to be split out into
their own dllexport-ms-friend.cpp because of the CHECK-NOTs which would have
interfered with subsequent CHECK-DAGs in dllexport.cpp.)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7611 bytes
Desc: not available
More information about the cfe-commits