projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f87473f
)
fix incorrect placement of _LIBCPP_ALWAYS_INLINE in valarray
author
Eric Fiselier
<eric@efcs.ca>
Thu, 25 Oct 2018 17:43:26 +0000
(17:43 +0000)
committer
Eric Fiselier
<eric@efcs.ca>
Thu, 25 Oct 2018 17:43:26 +0000
(17:43 +0000)
llvm-svn: 345289
libcxx/include/valarray
patch
|
blob
|
history
diff --git
a/libcxx/include/valarray
b/libcxx/include/valarray
index
027436d
..
3188b6a
100644
(file)
--- a/
libcxx/include/valarray
+++ b/
libcxx/include/valarray
@@
-1054,6
+1054,7
@@
private:
const _Up*
end(const valarray<_Up>& __v);
+ _LIBCPP_INLINE_VISIBILITY
void __clear(size_t __capacity);
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>
-inline
_LIBCPP_INLINE_VISIBILITY
+inline
void valarray<_Tp>::__clear(size_t __capacity)
{
if (__begin_ != nullptr)