From 1b60c38eee1485c01f60451d9e0ea75a6323ea0f Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Tue, 23 Jul 2024 13:57:08 -0400 Subject: [PATCH] [libc++][NFC] Add comment about __builtin_verbose_trap per review comment --- libcxx/vendor/llvm/default_assertion_handler.in | 1 + 1 file changed, 1 insertion(+) diff --git a/libcxx/vendor/llvm/default_assertion_handler.in b/libcxx/vendor/llvm/default_assertion_handler.in index 3b6d6b2cca53c2..8f37b9089ece83 100644 --- a/libcxx/vendor/llvm/default_assertion_handler.in +++ b/libcxx/vendor/llvm/default_assertion_handler.in @@ -26,6 +26,7 @@ # 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. +// TODO: Remove once AppleClang supports the two-arguments version of the builtin. # if defined(_LIBCPP_APPLE_CLANG_VER) && _LIBCPP_APPLE_CLANG_VER < 17000 # define _LIBCPP_ASSERTION_HANDLER(message) __builtin_verbose_trap(message) # else