fix incorrect placement of _LIBCPP_ALWAYS_INLINE in valarray
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@345289 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1054,6 +1054,7 @@ private:
|
|||||||
const _Up*
|
const _Up*
|
||||||
end(const valarray<_Up>& __v);
|
end(const valarray<_Up>& __v);
|
||||||
|
|
||||||
|
_LIBCPP_INLINE_VISIBILITY
|
||||||
void __clear(size_t __capacity);
|
void __clear(size_t __capacity);
|
||||||
valarray& __assign_range(const value_type* __f, const value_type* __l);
|
valarray& __assign_range(const value_type* __f, const value_type* __l);
|
||||||
};
|
};
|
||||||
@@ -3728,7 +3729,7 @@ valarray<_Tp>::apply(value_type __f(const value_type&)) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class _Tp>
|
template <class _Tp>
|
||||||
inline _LIBCPP_INLINE_VISIBILITY
|
inline
|
||||||
void valarray<_Tp>::__clear(size_t __capacity)
|
void valarray<_Tp>::__clear(size_t __capacity)
|
||||||
{
|
{
|
||||||
if (__begin_ != nullptr)
|
if (__begin_ != nullptr)
|
||||||
|
|||||||
Reference in New Issue
Block a user