From 815a6cc1e325a4e8596b91756039a7d699471b11 Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 27 Apr 2013 22:47:52 +0000 Subject: Merge libc++ trunk r180598. Contains several minor cleanups and bug fixes, no major changes. MFC after: 2 weeks --- contrib/libc++/include/valarray | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'contrib/libc++/include/valarray') diff --git a/contrib/libc++/include/valarray b/contrib/libc++/include/valarray index c56dd12..71c8a74 100644 --- a/contrib/libc++/include/valarray +++ b/contrib/libc++/include/valarray @@ -354,9 +354,9 @@ template unspecified2 end(const valarray& v); _LIBCPP_BEGIN_NAMESPACE_STD -template class _LIBCPP_VISIBLE valarray; +template class _LIBCPP_TYPE_VIS valarray; -class _LIBCPP_VISIBLE slice +class _LIBCPP_TYPE_VIS slice { size_t __start_; size_t __size_; @@ -381,11 +381,11 @@ public: _LIBCPP_INLINE_VISIBILITY size_t stride() const {return __stride_;} }; -template class _LIBCPP_VISIBLE slice_array; -class _LIBCPP_VISIBLE gslice; -template class _LIBCPP_VISIBLE gslice_array; -template class _LIBCPP_VISIBLE mask_array; -template class _LIBCPP_VISIBLE indirect_array; +template class _LIBCPP_TYPE_VIS slice_array; +class _LIBCPP_TYPE_VIS gslice; +template class _LIBCPP_TYPE_VIS gslice_array; +template class _LIBCPP_TYPE_VIS mask_array; +template class _LIBCPP_TYPE_VIS indirect_array; template _LIBCPP_INLINE_VISIBILITY @@ -671,7 +671,7 @@ public: _LIBCPP_INLINE_VISIBILITY size_t size() const {return __size_;} - template friend class _LIBCPP_VISIBLE valarray; + template friend class _LIBCPP_TYPE_VIS valarray; }; template @@ -786,7 +786,7 @@ template struct __is_val_expr > : true_type {}; template -class _LIBCPP_VISIBLE valarray +class _LIBCPP_TYPE_VIS valarray { public: typedef _Tp value_type; @@ -976,12 +976,12 @@ public: void resize(size_t __n, value_type __x = value_type()); private: - template friend class _LIBCPP_VISIBLE valarray; - template friend class _LIBCPP_VISIBLE slice_array; - template friend class _LIBCPP_VISIBLE gslice_array; - template friend class _LIBCPP_VISIBLE mask_array; + template friend class _LIBCPP_TYPE_VIS valarray; + template friend class _LIBCPP_TYPE_VIS slice_array; + template friend class _LIBCPP_TYPE_VIS gslice_array; + template friend class _LIBCPP_TYPE_VIS mask_array; template friend class __mask_expr; - template friend class _LIBCPP_VISIBLE indirect_array; + template friend class _LIBCPP_TYPE_VIS indirect_array; template friend class __indirect_expr; template friend class __val_expr; @@ -1091,7 +1091,7 @@ struct _BinaryOp<_Op, valarray<_Tp>, valarray<_Tp> > // slice_array template -class _LIBCPP_VISIBLE slice_array +class _LIBCPP_TYPE_VIS slice_array { public: typedef _Tp value_type; @@ -1394,7 +1394,7 @@ slice_array<_Tp>::operator=(const value_type& __x) const // gslice -class _LIBCPP_VISIBLE gslice +class _LIBCPP_TYPE_VIS gslice { valarray __size_; valarray __stride_; @@ -1461,7 +1461,7 @@ private: // gslice_array template -class _LIBCPP_VISIBLE gslice_array +class _LIBCPP_TYPE_VIS gslice_array { public: typedef _Tp value_type; @@ -1790,7 +1790,7 @@ gslice_array<_Tp>::operator=(const value_type& __x) const // mask_array template -class _LIBCPP_VISIBLE mask_array +class _LIBCPP_TYPE_VIS mask_array { public: typedef _Tp value_type; @@ -2134,7 +2134,7 @@ public: // indirect_array template -class _LIBCPP_VISIBLE indirect_array +class _LIBCPP_TYPE_VIS indirect_array { public: typedef _Tp value_type; @@ -2485,7 +2485,7 @@ public: _LIBCPP_INLINE_VISIBILITY size_t size() const {return __1d_.size();} - template friend class _LIBCPP_VISIBLE valarray; + template friend class _LIBCPP_TYPE_VIS valarray; }; template -- cgit v1.1