[libcxx-commits] [libcxx] [libc++][hardening] Categorize assertions related to strict weak ordering (PR #77405)

Konstantin Varlamov via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 8 19:25:03 PST 2024


================
@@ -283,9 +283,20 @@
 // - `_LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR` -- checks any operations that exchange nodes between containers to make sure
 //   the containers have compatible allocators.
 //
+// - `_LIBCPP_ASSERT_ARGUMENT_WITHIN_DOMAIN` -- checks that the given argument is within the domain of valid arguments
----------------
var-const wrote:

This category is also added by https://github.com/llvm/llvm-project/pull/77183 (I made these sibling patches to make managing the patches a little easier for me).

https://github.com/llvm/llvm-project/pull/77405


More information about the libcxx-commits mailing list