Skip to content

Commit 48f5855

Browse files
authored
[libc++] Remove the deprecated _LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED macro (#73164)
We release-noted that we were going to remove it in the LLVM 18 timeline and we've been issuing a warning since then.
1 parent 227654e commit 48f5855

File tree

3 files changed

+4
-39
lines changed

3 files changed

+4
-39
lines changed

libcxx/docs/ReleaseNotes/18.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,16 @@ Deprecations and Removals
8787
macro is provided to restore the previous behavior, and it will be supported in the LLVM 18 release only.
8888
In LLVM 19 and beyond, ``_LIBCPP_ENABLE_NARROWING_CONVERSIONS_IN_VARIANT`` will not be honored anymore.
8989

90+
- The ``_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED`` macro is not honored anymore in LLVM 18.
91+
Please see the updated documentation about the hardening modes in libc++ and in particular the
92+
``_LIBCPP_VERBOSE_ABORT`` macro for details.
93+
9094
Upcoming Deprecations and Removals
9195
----------------------------------
9296

9397
LLVM 18
9498
~~~~~~~
9599

96-
- The ``_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED`` macro will not be honored anymore in LLVM 18.
97-
Please see the updated documentation about the hardening modes in libc++ and in particular the
98-
``_LIBCPP_VERBOSE_ABORT`` macro for details.
99-
100100
- The headers ``<experimental/deque>``, ``<experimental/forward_list>``, ``<experimental/list>``,
101101
``<experimental/map>``, ``<experimental/memory_resource>``, ``<experimental/regex>``, ``<experimental/set>``,
102102
``<experimental/string>``, ``<experimental/unordered_map>``, ``<experimental/unordered_set>``,

libcxx/include/__verbose_abort

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@ void __libcpp_verbose_abort(const char *__format, ...);
3838
// make sure that the program terminates but without taking any complex dependencies in this header.
3939
#if !defined(_LIBCPP_VERBOSE_ABORT)
4040

41-
// Support _LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED until LLVM 18, but tell people
42-
// to move to customizing _LIBCPP_VERBOSE_ABORT instead.
43-
# if defined(_LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT) && defined(_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED)
44-
# undef _LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT
45-
# warning _LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED is deprecated, please customize _LIBCPP_VERBOSE_ABORT instead
46-
# endif
47-
4841
# if defined(_LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT)
4942
// The decltype is there to suppress -Wunused warnings in this configuration.
5043
void __use(const char*, ...);

libcxx/test/libcxx/assertions/deprecated-link-time-custom-handler.pass.cpp

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)