Skip to content

Commit 376399d

Browse files
Use only _, and not __ in names
1 parent 4af614d commit 376399d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

libcxx/include/__tree

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,13 +1048,13 @@ public:
10481048

10491049
template <class... _Args>
10501050
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 pair<iterator, bool>
1051-
__emplace_hint_unique__sfinae(true_type, const_iterator __p, _Args&&... __args) {
1051+
__emplace_hint_unique_sfinae(true_type, const_iterator __p, _Args&&... __args) {
10521052
return __emplace_hint_unique(__p, __args...);
10531053
}
10541054

10551055
template <class... _Args>
10561056
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 pair<iterator, bool>
1057-
__emplace_hint_unique__sfinae(false_type, const_iterator, _Args&&...) {
1057+
__emplace_hint_unique_sfinae(false_type, const_iterator, _Args&&...) {
10581058
// This method body should never be run. It only exists to allow for compilation. See note in
10591059
// __insert_unique_from_orphaned_node for more information.
10601060
return pair<iterator, bool>(iterator(__node_pointer()), false);
@@ -1070,7 +1070,7 @@ public:
10701070
// copy_constructible (even for runtime execution); unless we use `if constexpr`. Given the copy-constructible
10711071
// code path will be a performance regression, we want to restrict it to only execute during constant evaluation
10721072
// , hence, we need to delay the template instantiation.
1073-
__emplace_hint_unique__sfinae(
1073+
__emplace_hint_unique_sfinae(
10741074
integral_constant< bool, std::is_copy_constructible_v<decltype(__value.first)> >(),
10751075
__p,
10761076
__value.first,
@@ -1413,15 +1413,15 @@ private:
14131413

14141414
template <class _From, class _ValueT = _Tp, __enable_if_t<__is_tree_value_type_v<_ValueT>, int> = 0>
14151415
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void
1416-
__assign_value__sfinae(true_type, __get_node_value_type_t<value_type>& __lhs, _From&& __rhs) {
1416+
__assign_value_sfinae(true_type, __get_node_value_type_t<value_type>& __lhs, _From&& __rhs) {
14171417
__node_allocator& __na = __node_alloc();
14181418
__node_traits::destroy(__na, std::addressof(__lhs));
14191419
__node_traits::construct(__na, std::addressof(__lhs), __rhs.first, __rhs.second);
14201420
}
14211421

14221422
template <class _From, class _ValueT = _Tp, __enable_if_t<__is_tree_value_type_v<_ValueT>, int> = 0>
14231423
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void
1424-
__assign_value__sfinae(false_type, __get_node_value_type_t<value_type>&, _From&&) {
1424+
__assign_value_sfinae(false_type, __get_node_value_type_t<value_type>&, _From&&) {
14251425
// This method body should never be run. It only exists to allow for compilation. See note in __assign_value for
14261426
// more information.
14271427
}
@@ -1445,16 +1445,16 @@ private:
14451445
// to avoid the `const_cast` when attempting to assign to `__lhs.first`.
14461446

14471447
// We create a sfinae wrapper method here, because if the body of the `true_type` overload for
1448-
// `__assign_value__sfinae()` gets template instantiated within `__assign_value`,
1448+
// `__assign_value_sfinae()` gets template instantiated within `__assign_value`,
14491449
// the code will fail to compile when
14501450
// the value is not copy_constructible (even for runtime execution); unless we use `if constexpr`.
14511451
// Given that the copy-constructible code path will be a performance regression,
14521452
// we want to restrict it to only execute during constant evaluation
14531453
//, we need to delay the template instantiation.
14541454

1455-
__assign_value__sfinae(std::integral_constant<bool, std::is_copy_constructible_v<decltype(__rhs.first)>>(),
1456-
std::forward<decltype(__lhs)>(__lhs),
1457-
std::forward<decltype(__rhs)>(__rhs));
1455+
__assign_value_sfinae(std::integral_constant<bool, std::is_copy_constructible_v<decltype(__rhs.first)>>(),
1456+
std::forward<decltype(__lhs)>(__lhs),
1457+
std::forward<decltype(__rhs)>(__rhs));
14581458

14591459
} else
14601460
#endif

0 commit comments

Comments
 (0)