[PATCH] D37182: [libcxx] Special visibility macros for the experimental library

Hamza Sood via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 26 09:00:19 PDT 2017


hamzasood created this revision.

This patch fixes an issue that I encountered while porting the filesystem library to Windows (which I'll submit a patch for in a few days).

libc++experimental is always a static library, but on Windows the experimental APIs get marked with dllimport/dllexport.
This patch changes that by adding experimental visibility macros that don't use DLL declspecs on Windows.


https://reviews.llvm.org/D37182

Files:
  docs/DesignDocs/VisibilityMacros.rst
  include/experimental/__config
  include/experimental/__memory
  include/experimental/algorithm
  include/experimental/any
  include/experimental/coroutine
  include/experimental/dynarray
  include/experimental/filesystem
  include/experimental/functional
  include/experimental/memory_resource
  include/experimental/numeric
  include/experimental/optional
  include/experimental/propagate_const
  include/experimental/string_view
  include/experimental/tuple
  include/experimental/type_traits
  include/experimental/utility
  test/libcxx/selftest/experimental_visibility.sh.cpp
  utils/check_experimental_visibility.py
  utils/libcxx/test/config.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37182.112790.patch
Type: text/x-patch
Size: 152236 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170826/422e5e39/attachment-0001.bin>


More information about the cfe-commits mailing list