Skip to content

Commit 7616770

Browse files
Apply cf
1 parent 8c78c45 commit 7616770

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

libcxx/include/__tree

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,9 @@ private:
13181318
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __node_holder __construct_node(_Args&&... __args);
13191319

13201320
// TODO: Make this _LIBCPP_HIDE_FROM_ABI
1321-
_LIBCPP_HIDDEN _LIBCPP_CONSTEXPR_SINCE_CXX26 void destroy(__node_pointer __nd) _NOEXCEPT { (__tree_deleter(__node_alloc_))(__nd); }
1321+
_LIBCPP_HIDDEN _LIBCPP_CONSTEXPR_SINCE_CXX26 void destroy(__node_pointer __nd) _NOEXCEPT {
1322+
(__tree_deleter(__node_alloc_))(__nd);
1323+
}
13221324

13231325
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void __move_assign(__tree& __t, false_type);
13241326
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void __move_assign(__tree& __t, true_type) _NOEXCEPT_(

libcxx/include/__utility/lazy_synth_three_way_comparator.h

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ struct __lazy_compare_result {
3333
const _LHS& __lhs_;
3434
const _RHS& __rhs_;
3535

36-
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26
37-
__lazy_compare_result(_LIBCPP_CTOR_LIFETIMEBOUND const _Comparator& __comp,
38-
_LIBCPP_CTOR_LIFETIMEBOUND const _LHS& __lhs,
39-
_LIBCPP_CTOR_LIFETIMEBOUND const _RHS& __rhs)
36+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __lazy_compare_result(
37+
_LIBCPP_CTOR_LIFETIMEBOUND const _Comparator& __comp,
38+
_LIBCPP_CTOR_LIFETIMEBOUND const _LHS& __lhs,
39+
_LIBCPP_CTOR_LIFETIMEBOUND const _RHS& __rhs)
4040
: __comp_(__comp), __lhs_(__lhs), __rhs_(__rhs) {}
4141

4242
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 bool __less() const { return __comp_(__lhs_, __rhs_); }
@@ -50,7 +50,8 @@ template <class _Comparator, class _LHS, class _RHS, class = void>
5050
struct __lazy_synth_three_way_comparator {
5151
const _Comparator& __comp_;
5252

53-
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __lazy_synth_three_way_comparator(_LIBCPP_CTOR_LIFETIMEBOUND const _Comparator& __comp)
53+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26
54+
__lazy_synth_three_way_comparator(_LIBCPP_CTOR_LIFETIMEBOUND const _Comparator& __comp)
5455
: __comp_(__comp) {}
5556

5657
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __lazy_compare_result<_Comparator, _LHS, _RHS>
@@ -76,7 +77,8 @@ struct __lazy_synth_three_way_comparator<_Comparator,
7677
__has_default_three_way_comparator_v<_LHS, _RHS> > > {
7778
// This lifetimebound annotation is technically incorrect, but other specializations actually capture the lifetime of
7879
// the comparator.
79-
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __lazy_synth_three_way_comparator(_LIBCPP_CTOR_LIFETIMEBOUND const _Comparator&) {}
80+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26
81+
__lazy_synth_three_way_comparator(_LIBCPP_CTOR_LIFETIMEBOUND const _Comparator&) {}
8082

8183
// Same comment as above.
8284
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 static __eager_compare_result

0 commit comments

Comments
 (0)