aboutsummaryrefslogtreecommitdiff
path: root/lib/libc++/__assertion_handler
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc++/__assertion_handler')
-rw-r--r--lib/libc++/__assertion_handler3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc++/__assertion_handler b/lib/libc++/__assertion_handler
index 3b6d6b2cca53..e12ccccdaff3 100644
--- a/lib/libc++/__assertion_handler
+++ b/lib/libc++/__assertion_handler
@@ -26,7 +26,8 @@
# if __has_builtin(__builtin_verbose_trap)
// AppleClang shipped a slightly different version of __builtin_verbose_trap from the upstream
// version before upstream Clang actually got the builtin.
-# if defined(_LIBCPP_APPLE_CLANG_VER) && _LIBCPP_APPLE_CLANG_VER < 17000
+// TODO: Remove once AppleClang supports the two-arguments version of the builtin.
+# if defined(_LIBCPP_APPLE_CLANG_VER) && _LIBCPP_APPLE_CLANG_VER < 1700
# define _LIBCPP_ASSERTION_HANDLER(message) __builtin_verbose_trap(message)
# else
# define _LIBCPP_ASSERTION_HANDLER(message) __builtin_verbose_trap("libc++", message)