[PATCH] D28174: [libcxx] [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS.

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 29 21:57:29 PST 2016


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

The name `_LIBCPP_TYPE_VIS_ONLY` is no longer accurate because both `_LIBCPP_TYPE_VIS` and `_LIBCPP_TYPE_VIS_ONLY` expand to `__attribute__((__type_visibility__))` with Clang.  The only remaining difference is that `_LIBCPP_TYPE_VIS_ONLY` can be applied to templates whereas `_LIBCPP_TYPE_VIS` cannot (due to dllimport/dllexport not being allowed on templates).

This patch renames `_LIBCPP_TYPE_VIS_ONLY` to `_LIBCPP_TEMPLATE_VIS`.

If there are no comments in the next day or two I'll commit this patch


https://reviews.llvm.org/D28174

Files:
  docs/DesignDocs/VisibilityMacros.rst
  include/__config
  include/__debug
  include/__functional_03
  include/__functional_base
  include/__hash_table
  include/__locale
  include/__mutex_base
  include/__nullptr
  include/__string
  include/__tree
  include/__tuple
  include/any
  include/array
  include/bitset
  include/chrono
  include/codecvt
  include/complex
  include/deque
  include/experimental/any
  include/experimental/dynarray
  include/experimental/memory_resource
  include/experimental/optional
  include/experimental/string_view
  include/experimental/type_traits
  include/experimental/utility
  include/ext/__hash
  include/ext/hash_map
  include/ext/hash_set
  include/forward_list
  include/fstream
  include/functional
  include/future
  include/initializer_list
  include/ios
  include/iosfwd
  include/istream
  include/iterator
  include/limits
  include/list
  include/locale
  include/map
  include/memory
  include/mutex
  include/optional
  include/ostream
  include/queue
  include/random
  include/ratio
  include/regex
  include/scoped_allocator
  include/set
  include/sstream
  include/stack
  include/streambuf
  include/string
  include/string_view
  include/system_error
  include/thread
  include/tuple
  include/type_traits
  include/typeindex
  include/unordered_map
  include/unordered_set
  include/utility
  include/valarray
  include/variant
  include/vector
  src/experimental/memory_resource.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28174.82718.patch
Type: text/x-patch
Size: 209730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161230/3679303b/attachment-0001.bin>


More information about the cfe-commits mailing list