File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ template <__libcpp_unsigned_integer _Tp>
6262
6363#if __has_feature(capabilities)
6464template <>
65- _LIBCPP_HIDE_FROM_ABI constexpr inline unsigned __intcap rotl (unsigned __intcap __t , unsigned int __cnt) noexcept {
65+ _LIBCPP_HIDE_FROM_ABI constexpr inline unsigned __intcap rotl (unsigned __intcap __t , int __cnt) noexcept {
6666 // __builtin_cheri_address_set cannot be used in a constant expression (yet), so we return a null-derived integer.
6767 return std::rotl (static_cast <ptraddr_t >(__t ), __cnt);
6868}
Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ template <>
435435struct _LIBCPP_TEMPLATE_VIS hash<__intcap_t >
436436 : public __unary_function<__intcap_t , size_t >
437437{
438- _LIBCPP_INLINE_VISIBILITY
438+ _LIBCPP_HIDE_FROM_ABI
439439 size_t operator ()(__intcap_t x) const _NOEXCEPT {
440440 return hash<ptraddr_t >()(static_cast <ptraddr_t >(x));
441441 }
@@ -445,7 +445,7 @@ template <>
445445struct _LIBCPP_TEMPLATE_VIS hash<__uintcap_t >
446446 : public __unary_function<__uintcap_t , size_t >
447447{
448- _LIBCPP_INLINE_VISIBILITY
448+ _LIBCPP_HIDE_FROM_ABI
449449 size_t operator ()(__uintcap_t x) const _NOEXCEPT {
450450 return hash<ptraddr_t >()(static_cast <ptraddr_t >(x));
451451 }
Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __uint128_t __convert_to_integral
4949#endif
5050
5151#if __has_feature(capabilities)
52- inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
52+ inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR
5353__intcap __convert_to_integral (__intcap __val) { return __val; }
5454
55- inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
55+ inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR
5656unsigned __intcap __convert_to_integral (unsigned __intcap __val) { return __val; }
5757#endif
5858
You can’t perform that action at this time.
0 commit comments