eugenis created this revision. eugenis added a reviewer: EricWF. eugenis added a subscriber: cfe-commits. eugenis set the repository for this revision to rL LLVM.
This does not affect the libc++ export list now. It is required for internal_linkage switch to not affect the libc++ export list. This patch is on top of D15432. Repository: rL LLVM http://reviews.llvm.org/D15433 Files: include/valarray Index: include/valarray =================================================================== --- include/valarray +++ include/valarray @@ -802,7 +802,6 @@ // construct/destroy: _LIBCPP_INLINE_VISIBILITY valarray() : __begin_(0), __end_(0) {} - _LIBCPP_INLINE_VISIBILITY explicit valarray(size_t __n); _LIBCPP_INLINE_VISIBILITY valarray(const value_type& __x, size_t __n); @@ -820,7 +819,6 @@ valarray(const mask_array<value_type>& __ma); valarray(const indirect_array<value_type>& __ia); - _LIBCPP_INLINE_VISIBILITY ~valarray(); // assignment: @@ -1092,16 +1090,14 @@ template <class _Tp> -inline valarray<_Tp>::valarray(size_t __n) : __begin_(0), __end_(0) { resize(__n); } template <class _Tp> -inline valarray<_Tp>::~valarray() { resize(0);
Index: include/valarray =================================================================== --- include/valarray +++ include/valarray @@ -802,7 +802,6 @@ // construct/destroy: _LIBCPP_INLINE_VISIBILITY valarray() : __begin_(0), __end_(0) {} - _LIBCPP_INLINE_VISIBILITY explicit valarray(size_t __n); _LIBCPP_INLINE_VISIBILITY valarray(const value_type& __x, size_t __n); @@ -820,7 +819,6 @@ valarray(const mask_array<value_type>& __ma); valarray(const indirect_array<value_type>& __ia); - _LIBCPP_INLINE_VISIBILITY ~valarray(); // assignment: @@ -1092,16 +1090,14 @@ template <class _Tp> -inline valarray<_Tp>::valarray(size_t __n) : __begin_(0), __end_(0) { resize(__n); } template <class _Tp> -inline valarray<_Tp>::~valarray() { resize(0);
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits