Skip to content

Commit a55f93f

Browse files
committed
[libc++] Replace _LIBCPP_INLINE_VISIBILITY with _LIBCPP_HIDE_FROM_ABI in __bit_reference
Reviewed By: #libc, Mordante Spies: Mordante, libcxx-commits Differential Revision: https://reviews.llvm.org/D156035
1 parent 4d20cfc commit a55f93f

File tree

1 file changed

+53
-53
lines changed

1 file changed

+53
-53
lines changed

libcxx/include/__bit_reference

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ class __bit_reference
5858
public:
5959
using __container = typename _Cp::__self;
6060

61-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
61+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
6262
__bit_reference(const __bit_reference&) = default;
6363

64-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 operator bool() const _NOEXCEPT
64+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 operator bool() const _NOEXCEPT
6565
{return static_cast<bool>(*__seg_ & __mask_);}
66-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 bool operator ~() const _NOEXCEPT
66+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 bool operator ~() const _NOEXCEPT
6767
{return !static_cast<bool>(*this);}
6868

69-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
69+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
7070
__bit_reference& operator=(bool __x) _NOEXCEPT
7171
{
7272
if (__x)
@@ -86,15 +86,15 @@ public:
8686
}
8787
#endif
8888

89-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
89+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
9090
__bit_reference& operator=(const __bit_reference& __x) _NOEXCEPT
9191
{return operator=(static_cast<bool>(__x));}
9292

93-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 void flip() _NOEXCEPT {*__seg_ ^= __mask_;}
94-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator<_Cp, false> operator&() const _NOEXCEPT
93+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void flip() _NOEXCEPT {*__seg_ ^= __mask_;}
94+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator<_Cp, false> operator&() const _NOEXCEPT
9595
{return __bit_iterator<_Cp, false>(__seg_, static_cast<unsigned>(std::__libcpp_ctz(__mask_)));}
9696
private:
97-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
97+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
9898
explicit __bit_reference(__storage_pointer __s, __storage_type __m) _NOEXCEPT
9999
: __seg_(__s), __mask_(__m) {}
100100
};
@@ -105,7 +105,7 @@ class __bit_reference<_Cp, false>
105105
};
106106

107107
template <class _Cp>
108-
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
108+
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
109109
void
110110
swap(__bit_reference<_Cp> __x, __bit_reference<_Cp> __y) _NOEXCEPT
111111
{
@@ -115,7 +115,7 @@ swap(__bit_reference<_Cp> __x, __bit_reference<_Cp> __y) _NOEXCEPT
115115
}
116116

117117
template <class _Cp, class _Dp>
118-
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
118+
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
119119
void
120120
swap(__bit_reference<_Cp> __x, __bit_reference<_Dp> __y) _NOEXCEPT
121121
{
@@ -125,7 +125,7 @@ swap(__bit_reference<_Cp> __x, __bit_reference<_Dp> __y) _NOEXCEPT
125125
}
126126

127127
template <class _Cp>
128-
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
128+
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
129129
void
130130
swap(__bit_reference<_Cp> __x, bool& __y) _NOEXCEPT
131131
{
@@ -135,7 +135,7 @@ swap(__bit_reference<_Cp> __x, bool& __y) _NOEXCEPT
135135
}
136136

137137
template <class _Cp>
138-
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
138+
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
139139
void
140140
swap(bool& __x, __bit_reference<_Cp> __y) _NOEXCEPT
141141
{
@@ -158,20 +158,20 @@ class __bit_const_reference
158158
public:
159159
using __container = typename _Cp::__self;
160160

161-
_LIBCPP_INLINE_VISIBILITY
161+
_LIBCPP_HIDE_FROM_ABI
162162
__bit_const_reference(const __bit_const_reference&) = default;
163163

164-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
164+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
165165
__bit_const_reference(const __bit_reference<_Cp>& __x) _NOEXCEPT
166166
: __seg_(__x.__seg_), __mask_(__x.__mask_) {}
167167

168-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR operator bool() const _NOEXCEPT
168+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR operator bool() const _NOEXCEPT
169169
{return static_cast<bool>(*__seg_ & __mask_);}
170170

171-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator<_Cp, true> operator&() const _NOEXCEPT
171+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator<_Cp, true> operator&() const _NOEXCEPT
172172
{return __bit_iterator<_Cp, true>(__seg_, static_cast<unsigned>(std::__libcpp_ctz(__mask_)));}
173173
private:
174-
_LIBCPP_INLINE_VISIBILITY
174+
_LIBCPP_HIDE_FROM_ABI
175175
_LIBCPP_CONSTEXPR
176176
explicit __bit_const_reference(__storage_pointer __s, __storage_type __m) _NOEXCEPT
177177
: __seg_(__s), __mask_(__m) {}
@@ -227,7 +227,7 @@ __find_bool(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n)
227227
}
228228

229229
template <class _Cp, bool _IsConst, class _Tp>
230-
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
230+
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
231231
__bit_iterator<_Cp, _IsConst>
232232
find(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, const _Tp& __value)
233233
{
@@ -270,7 +270,7 @@ __count_bool(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n)
270270
}
271271

272272
template <class _Cp, bool _IsConst, class _Tp>
273-
inline _LIBCPP_INLINE_VISIBILITY
273+
inline _LIBCPP_HIDE_FROM_ABI
274274
typename __bit_iterator<_Cp, _IsConst>::difference_type
275275
count(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, const _Tp& __value)
276276
{
@@ -318,7 +318,7 @@ __fill_n(__bit_iterator<_Cp, false> __first, typename _Cp::size_type __n)
318318
}
319319

320320
template <class _Cp>
321-
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
321+
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
322322
void
323323
fill_n(__bit_iterator<_Cp, false> __first, typename _Cp::size_type __n, bool __value)
324324
{
@@ -334,7 +334,7 @@ fill_n(__bit_iterator<_Cp, false> __first, typename _Cp::size_type __n, bool __v
334334
// fill
335335

336336
template <class _Cp>
337-
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
337+
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
338338
void
339339
fill(__bit_iterator<_Cp, false> __first, __bit_iterator<_Cp, false> __last, bool __value)
340340
{
@@ -469,7 +469,7 @@ __copy_unaligned(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsC
469469
}
470470

471471
template <class _Cp, bool _IsConst>
472-
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
472+
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
473473
__bit_iterator<_Cp, false>
474474
copy(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result)
475475
{
@@ -614,7 +614,7 @@ __copy_backward_unaligned(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<
614614
}
615615

616616
template <class _Cp, bool _IsConst>
617-
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
617+
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
618618
__bit_iterator<_Cp, false>
619619
copy_backward(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result)
620620
{
@@ -626,7 +626,7 @@ copy_backward(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsCons
626626
// move
627627

628628
template <class _Cp, bool _IsConst>
629-
inline _LIBCPP_INLINE_VISIBILITY
629+
inline _LIBCPP_HIDE_FROM_ABI
630630
__bit_iterator<_Cp, false>
631631
move(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result)
632632
{
@@ -636,7 +636,7 @@ move(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last
636636
// move_backward
637637

638638
template <class _Cp, bool _IsConst>
639-
inline _LIBCPP_INLINE_VISIBILITY
639+
inline _LIBCPP_HIDE_FROM_ABI
640640
__bit_iterator<_Cp, false>
641641
move_backward(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result)
642642
{
@@ -796,7 +796,7 @@ __swap_ranges_unaligned(__bit_iterator<_Cl, false> __first, __bit_iterator<_Cl,
796796
}
797797

798798
template <class _Cl, class _Cr>
799-
inline _LIBCPP_INLINE_VISIBILITY
799+
inline _LIBCPP_HIDE_FROM_ABI
800800
__bit_iterator<_Cr, false>
801801
swap_ranges(__bit_iterator<_Cl, false> __first1, __bit_iterator<_Cl, false> __last1,
802802
__bit_iterator<_Cr, false> __first2)
@@ -821,19 +821,19 @@ struct __bit_array
821821
difference_type __size_;
822822
__storage_type __word_[_Np];
823823

824-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 static difference_type capacity()
824+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 static difference_type capacity()
825825
{return static_cast<difference_type>(_Np * __bits_per_word);}
826-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit __bit_array(difference_type __s) : __size_(__s) {
826+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit __bit_array(difference_type __s) : __size_(__s) {
827827
if (__libcpp_is_constant_evaluated()) {
828828
for (size_t __i = 0; __i != __bit_array<_Cp>::_Np; ++__i)
829829
std::__construct_at(__word_ + __i, 0);
830830
}
831831
}
832-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 iterator begin()
832+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 iterator begin()
833833
{
834834
return iterator(pointer_traits<__storage_pointer>::pointer_to(__word_[0]), 0);
835835
}
836-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 iterator end()
836+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 iterator end()
837837
{
838838
return iterator(pointer_traits<__storage_pointer>::pointer_to(__word_[0]) + __size_ / __bits_per_word,
839839
static_cast<unsigned>(__size_ % __bits_per_word));
@@ -1017,7 +1017,7 @@ __equal_aligned(__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __
10171017
}
10181018

10191019
template <class _Cp, bool _IC1, bool _IC2>
1020-
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
1020+
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
10211021
bool
10221022
equal(__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __last1, __bit_iterator<_Cp, _IC2> __first2)
10231023
{
@@ -1051,7 +1051,7 @@ private:
10511051
unsigned __ctz_;
10521052

10531053
public:
1054-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator() _NOEXCEPT
1054+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator() _NOEXCEPT
10551055
#if _LIBCPP_STD_VER >= 14
10561056
: __seg_(nullptr), __ctz_(0)
10571057
#endif
@@ -1062,7 +1062,7 @@ public:
10621062
// When _IsConst=true, this is a converting constructor;
10631063
// the copy and move constructors are implicitly generated
10641064
// and trivial.
1065-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
1065+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
10661066
__bit_iterator(const __bit_iterator<_Cp, false>& __it) _NOEXCEPT
10671067
: __seg_(__it.__seg_), __ctz_(__it.__ctz_) {}
10681068

@@ -1071,19 +1071,19 @@ public:
10711071
// the implicit generation of a defaulted one is deprecated.
10721072
// When _IsConst=true, the assignment operators are
10731073
// implicitly generated and trivial.
1074-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
1074+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
10751075
__bit_iterator& operator=(const _If<_IsConst, struct __private_nat, __bit_iterator>& __it) {
10761076
__seg_ = __it.__seg_;
10771077
__ctz_ = __it.__ctz_;
10781078
return *this;
10791079
}
10801080

1081-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 reference operator*() const _NOEXCEPT {
1081+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 reference operator*() const _NOEXCEPT {
10821082
return __conditional_t<_IsConst, __bit_const_reference<_Cp>, __bit_reference<_Cp> >(
10831083
__seg_, __storage_type(1) << __ctz_);
10841084
}
10851085

1086-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator& operator++()
1086+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator& operator++()
10871087
{
10881088
if (__ctz_ != __bits_per_word-1)
10891089
++__ctz_;
@@ -1095,14 +1095,14 @@ public:
10951095
return *this;
10961096
}
10971097

1098-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator operator++(int)
1098+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator operator++(int)
10991099
{
11001100
__bit_iterator __tmp = *this;
11011101
++(*this);
11021102
return __tmp;
11031103
}
11041104

1105-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator& operator--()
1105+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator& operator--()
11061106
{
11071107
if (__ctz_ != 0)
11081108
--__ctz_;
@@ -1114,14 +1114,14 @@ public:
11141114
return *this;
11151115
}
11161116

1117-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator operator--(int)
1117+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator operator--(int)
11181118
{
11191119
__bit_iterator __tmp = *this;
11201120
--(*this);
11211121
return __tmp;
11221122
}
11231123

1124-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator& operator+=(difference_type __n)
1124+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator& operator+=(difference_type __n)
11251125
{
11261126
if (__n >= 0)
11271127
__seg_ += (__n + __ctz_) / __bits_per_word;
@@ -1133,54 +1133,54 @@ public:
11331133
return *this;
11341134
}
11351135

1136-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator& operator-=(difference_type __n)
1136+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator& operator-=(difference_type __n)
11371137
{
11381138
return *this += -__n;
11391139
}
11401140

1141-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator operator+(difference_type __n) const
1141+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator operator+(difference_type __n) const
11421142
{
11431143
__bit_iterator __t(*this);
11441144
__t += __n;
11451145
return __t;
11461146
}
11471147

1148-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator operator-(difference_type __n) const
1148+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator operator-(difference_type __n) const
11491149
{
11501150
__bit_iterator __t(*this);
11511151
__t -= __n;
11521152
return __t;
11531153
}
11541154

1155-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
1155+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
11561156
friend __bit_iterator operator+(difference_type __n, const __bit_iterator& __it) {return __it + __n;}
11571157

1158-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
1158+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
11591159
friend difference_type operator-(const __bit_iterator& __x, const __bit_iterator& __y)
11601160
{return (__x.__seg_ - __y.__seg_) * __bits_per_word + __x.__ctz_ - __y.__ctz_;}
11611161

1162-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 reference operator[](difference_type __n) const {return *(*this + __n);}
1162+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 reference operator[](difference_type __n) const {return *(*this + __n);}
11631163

1164-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator==(const __bit_iterator& __x, const __bit_iterator& __y)
1164+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator==(const __bit_iterator& __x, const __bit_iterator& __y)
11651165
{return __x.__seg_ == __y.__seg_ && __x.__ctz_ == __y.__ctz_;}
11661166

1167-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator!=(const __bit_iterator& __x, const __bit_iterator& __y)
1167+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator!=(const __bit_iterator& __x, const __bit_iterator& __y)
11681168
{return !(__x == __y);}
11691169

1170-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator<(const __bit_iterator& __x, const __bit_iterator& __y)
1170+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator<(const __bit_iterator& __x, const __bit_iterator& __y)
11711171
{return __x.__seg_ < __y.__seg_ || (__x.__seg_ == __y.__seg_ && __x.__ctz_ < __y.__ctz_);}
11721172

1173-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator>(const __bit_iterator& __x, const __bit_iterator& __y)
1173+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator>(const __bit_iterator& __x, const __bit_iterator& __y)
11741174
{return __y < __x;}
11751175

1176-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator<=(const __bit_iterator& __x, const __bit_iterator& __y)
1176+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator<=(const __bit_iterator& __x, const __bit_iterator& __y)
11771177
{return !(__y < __x);}
11781178

1179-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator>=(const __bit_iterator& __x, const __bit_iterator& __y)
1179+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 friend bool operator>=(const __bit_iterator& __x, const __bit_iterator& __y)
11801180
{return !(__x < __y);}
11811181

11821182
private:
1183-
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
1183+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
11841184
explicit __bit_iterator(__storage_pointer __s, unsigned __ctz) _NOEXCEPT
11851185
: __seg_(__s), __ctz_(__ctz) {}
11861186

0 commit comments

Comments
 (0)