From: Eric Fiselier Date: Fri, 16 Sep 2016 02:16:23 +0000 (+0000) Subject: Move _LIBCPP_INLINE_VISIBILITY to first declaration in X-Git-Tag: llvmorg-4.0.0-rc1~9600 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0d2d58ff72e9b70a3faf533ba8823dd3bf917db;p=platform%2Fupstream%2Fllvm.git Move _LIBCPP_INLINE_VISIBILITY to first declaration in llvm-svn: 281692 --- diff --git a/libcxx/include/experimental/propagate_const b/libcxx/include/experimental/propagate_const index f267ba2..e7f7e9f 100644 --- a/libcxx/include/experimental/propagate_const +++ b/libcxx/include/experimental/propagate_const @@ -123,8 +123,14 @@ _LIBCPP_BEGIN_NAMESPACE_LFTS_V2 template class propagate_const; -template _LIBCPP_CONSTEXPR const _Up& get_underlying(const propagate_const<_Up>& __pu) _NOEXCEPT; -template _LIBCPP_CONSTEXPR _Up& get_underlying(propagate_const<_Up>& __pu) _NOEXCEPT; + +template +inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR +const _Up& get_underlying(const propagate_const<_Up>& __pu) _NOEXCEPT; + +template +inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR +_Up& get_underlying(propagate_const<_Up>& __pu) _NOEXCEPT; template class propagate_const @@ -462,14 +468,12 @@ _LIBCPP_CONSTEXPR void swap(propagate_const<_Tp>& __pc1, propagate_const<_Tp>& _ } template -_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR const _Tp& get_underlying(const propagate_const<_Tp>& __pt) _NOEXCEPT { return __pt.__t_; } template -_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR _Tp& get_underlying(propagate_const<_Tp>& __pt) _NOEXCEPT { return __pt.__t_;