[libcxx-commits] [libcxx] [libcxxabi] [llvm] [libc++][hardening] Introduce assertion semantics. (PR #149459)
Konstantin Varlamov via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jul 25 16:50:15 PDT 2025
================
@@ -24,14 +25,40 @@
# pragma GCC system_header
#endif
-#if _LIBCPP_HARDENING_MODE == _LIBCPP_HARDENING_MODE_DEBUG
+#if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
----------------
var-const wrote:
Sorry, I didn't write a comment on this -- it doesn't work because the `__config` in the frozen headers _doesn't_ set the `_LIBCPP_CXX03_LANG` macro.
https://github.com/llvm/llvm-project/pull/149459
More information about the libcxx-commits
mailing list