Skip to content

Commit

Permalink
[libc++][NFC] Add comment about __builtin_verbose_trap per review com…
Browse files Browse the repository at this point in the history
…ment
  • Loading branch information
ldionne committed Jul 23, 2024
1 parent e0649a5 commit 1b60c38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libcxx/vendor/llvm/default_assertion_handler.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b60c38

Please sign in to comment.