[PATCH] rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS

Saleem Abdulrasool compnerd at compnerd.org
Tue Jul 15 19:18:20 PDT 2014


Hi mclow.lists, nrieck,

Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS.  The new name is more
descriptive of what the intention is.  The previous name did not convey the
intention of the decoration.  This is mostly a mechanical change.  The following
is a list of actual changes:

[cstddef]
  nullptr_t: _LIBCPP_TYPE_VIS_ONLY -> no decoration
    nullptr_t is only defined in C++98 mode, which libc++ does not build in.

[mutex]
  once_flag: _LIBCPP_TYPE_VIS_ONLY -> _LIBCPP_TYPE_VIS
    make the visibility match the forward declaration.

[random]
  seed_seq: _LIBCPP_TYPE_VIS_ONLY -> _LIBCPP_INLINE_VISIBILITY
    seed_seq is fully defined in the header.
  bernoulli_distribution: _LIBCPP_TYPE_VIS_ONLY -> _LIBCPP_INLINE_VISIBILITY
    bernoulli_distribution is fully defined in the header.

[typeindex]
  type_index: _LIBCPP_TYPE_VIS_ONLY -> _LIBCPP_INLINE_VISIBILITY
    type_index is fully defined in the header.

[utility]
  piecewise_construct_t: _LIBCPP_TYPE_VIS_ONLY -> no decoration
    piecewise_construct_t is similar to nullptr_t.  There is no real reason to
    make this type visible.

http://reviews.llvm.org/D4530

Files:
  include/__config
  include/__functional_03
  include/__functional_base
  include/__functional_base_03
  include/__hash_table
  include/__locale
  include/__mutex_base
  include/__tree
  include/__tuple
  include/__tuple_03
  include/array
  include/bitset
  include/chrono
  include/codecvt
  include/complex
  include/cstddef
  include/deque
  include/experimental/dynarray
  include/experimental/optional
  include/experimental/string_view
  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/ostream
  include/queue
  include/random
  include/ratio
  include/regex
  include/scoped_allocator
  include/set
  include/sstream
  include/stack
  include/streambuf
  include/string
  include/system_error
  include/thread
  include/tuple
  include/type_traits
  include/typeindex
  include/unordered_map
  include/unordered_set
  include/utility
  include/valarray
  include/vector
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4530.11485.patch
Type: text/x-patch
Size: 184775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140716/5918b097/attachment.bin>


More information about the llvm-commits mailing list