[libcxx-commits] [libcxx] [libcxx] mark _LIBCPP_VERBOSE_{ABORT, TRAP} `nomerge` (PR #200078)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 29 06:15:53 PDT 2026


================
@@ -42,9 +42,13 @@ _LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS
 #  if !_LIBCPP_AVAILABILITY_HAS_VERBOSE_ABORT
 // The decltype is there to suppress -Wunused warnings in this configuration.
 void __use(const char*, ...);
-#    define _LIBCPP_VERBOSE_ABORT(...) (decltype(::std::__use(__VA_ARGS__))(), __builtin_abort())
+#    define _LIBCPP_VERBOSE_ABORT(...)                                                                                 \
----------------
philnik777 wrote:

Actually, I'm not sure we want to change this. It's really just a fallback for old platforms.

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


More information about the libcxx-commits mailing list