[libcxx-commits] [libcxx] [libcxxabi] [libc++][hardening] Introduce assertion semantics (PR #148268)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 14 11:46:43 PDT 2025


================
@@ -72,6 +74,10 @@ to control the level by passing **one** of the following options to the compiler
    pre-built components. Most libc++ code is header-based, so a user-provided
    value for ``_LIBCPP_HARDENING_MODE`` will be mostly respected.
 
+In some cases, users might want to override the default assertion semantic.
----------------
ldionne wrote:

```suggestion
In some cases, users might want to override the assertion semantic used by the library.
```

IMO the word `default` is confusing here -- the default semantic is something that the vendors would set, not the users.

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


More information about the libcxx-commits mailing list