Skip to content

Commit b536178

Browse files
WIP
1 parent a2daa7a commit b536178

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

libcxx/include/__cxx03/__chrono/weekday.h

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -79,25 +79,6 @@ _LIBCPP_HIDE_FROM_ABI inline constexpr bool operator==(const weekday& __lhs, con
7979
return __lhs.c_encoding() == __rhs.c_encoding();
8080
}
8181

82-
// TODO(LLVM 20): Remove the escape hatch
83-
# ifdef _LIBCPP_ENABLE_REMOVED_WEEKDAY_RELATIONAL_OPERATORS
84-
_LIBCPP_HIDE_FROM_ABI inline constexpr bool operator<(const weekday& __lhs, const weekday& __rhs) noexcept {
85-
return __lhs.c_encoding() < __rhs.c_encoding();
86-
}
87-
88-
_LIBCPP_HIDE_FROM_ABI inline constexpr bool operator>(const weekday& __lhs, const weekday& __rhs) noexcept {
89-
return __rhs < __lhs;
90-
}
91-
92-
_LIBCPP_HIDE_FROM_ABI inline constexpr bool operator<=(const weekday& __lhs, const weekday& __rhs) noexcept {
93-
return !(__rhs < __lhs);
94-
}
95-
96-
_LIBCPP_HIDE_FROM_ABI inline constexpr bool operator>=(const weekday& __lhs, const weekday& __rhs) noexcept {
97-
return !(__lhs < __rhs);
98-
}
99-
# endif // _LIBCPP_ENABLE_REMOVED_WEEKDAY_RELATIONAL_OPERATORS
100-
10182
_LIBCPP_HIDE_FROM_ABI inline constexpr weekday operator+(const weekday& __lhs, const days& __rhs) noexcept {
10283
auto const __mu = static_cast<long long>(__lhs.c_encoding()) + __rhs.count();
10384
auto const __yr = (__mu >= 0 ? __mu : __mu - 6) / 7;

0 commit comments

Comments
 (0)