[libcxx-commits] [PATCH] D131419: [NFC][libc++][test] Removes unneeded code.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Aug 10 10:01:14 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG35bb1f5f340b: [NFC][libc++][test] Removes unneeded code. (authored by Mordante).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131419/new/
https://reviews.llvm.org/D131419
Files:
libcxx/test/support/test_comparisons.h
Index: libcxx/test/support/test_comparisons.h
===================================================================
--- libcxx/test/support/test_comparisons.h
+++ libcxx/test/support/test_comparisons.h
@@ -139,9 +139,6 @@
template <class Order, class T, class U = T>
constexpr bool testOrder(const T& t1, const U& t2, Order order) {
bool equal = order == Order::equivalent;
- if constexpr (std::same_as<Order, std::strong_ordering>)
- equal |= order == Order::equal;
-
bool less = order == Order::less;
return (t1 <=> t2 == order) && testComparisons(t1, t2, equal, less);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131419.451534.patch
Type: text/x-patch
Size: 599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220810/cfd69619/attachment.bin>
More information about the libcxx-commits
mailing list