[libcxx-commits] [libcxx] [libc++] Remove trailing newline from _LIBCPP_ASSERTION_HANDLER calls (PR #143573)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jun 12 07:50:14 PDT 2025
================
@@ -20,8 +20,8 @@
#define _LIBCPP_ASSERT(expression, message) \
(__builtin_expect(static_cast<bool>(expression), 1) \
? (void)0 \
- : _LIBCPP_ASSERTION_HANDLER(__FILE__ ":" _LIBCPP_TOSTRING(__LINE__) ": assertion " _LIBCPP_TOSTRING( \
- expression) " failed: " message "\n"))
+ : _LIBCPP_ASSERTION_HANDLER( \
----------------
ldionne wrote:
@philnik777 Do you want us to refrain from changing this C++03 header?
https://github.com/llvm/llvm-project/pull/143573
More information about the libcxx-commits
mailing list