[libcxx-commits] [PATCH] D158823: [libc++][hardening] Add back the safe mode.

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 28 02:15:12 PDT 2023


var-const marked 2 inline comments as done.
var-const added inline comments.


================
Comment at: libcxx/include/__algorithm/three_way_comp_ref_type.h:53
       __expected = _Order::less;
-    _LIBCPP_ASSERT(__comp_(__l, __r) == __expected, "Comparator does not induce a strict weak ordering");
+    _LIBCPP_ASSERT_UNCATEGORIZED(__comp_(__l, __r) == __expected, "Comparator does not induce a strict weak ordering");
     (void)__l;
----------------
ldionne wrote:
> I think this should be a separate (almost NFC) patch. There might be more of those, we should fix all.
https://reviews.llvm.org/D158970


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158823/new/

https://reviews.llvm.org/D158823



More information about the libcxx-commits mailing list