Author: marshall
Date: Tue Feb 24 06:46:39 2015
New Revision: 230330
URL: http://llvm.org/viewvc/llvm-project?rev=230330&view=rev
Log:
Make the forward declaration for array swap have the same inline/visibility
attributes as the definition. Thanks to Steven Wu for the catch.
Modified:
libcxx/trunk/include/utility
Modified: libcxx/trunk/include/utility
URL:
http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/utility?rev=230330&r1=230329&r2=230330&view=diff
==============================================================================
--- libcxx/trunk/include/utility (original)
+++ libcxx/trunk/include/utility Tue Feb 24 06:46:39 2015
@@ -204,6 +204,7 @@ operator>=(const _Tp& __x, const _Tp& __
// forward
template<class _Tp, size_t _Np>
+inline _LIBCPP_INLINE_VISIBILITY
void swap(_Tp (&__a)[_Np], _Tp (&__b)[_Np])
_NOEXCEPT_(__is_nothrow_swappable<_Tp>::value);
template <class _ForwardIterator1, class _ForwardIterator2>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits