[PATCH] D24679: [libc++] Fix extern template visibility for Windows

Shoaib Meenai via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 16 12:11:16 PDT 2016


smeenai created this revision.
smeenai added reviewers: compnerd, EricWF, mclow.lists.
smeenai added a subscriber: cfe-commits.

On Windows, marking an `extern template class` declaration as exported
actually forces an instantiation, which is not the desired behavior.
Instead, the actual explicit instantiations need to be exported.

https://reviews.llvm.org/D24679

Files:
  docs/DesignDocs/VisibilityMacros.rst
  include/__config
  src/ios.cpp
  src/locale.cpp
  src/string.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24679.71685.patch
Type: text/x-patch
Size: 10496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160916/a2250aac/attachment.bin>


More information about the cfe-commits mailing list