File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ Deprecations and Removals
85
85
- The function ``__libcpp_verbose_abort() `` is now ``noexcept ``, to match ``std::terminate() ``. (The combination of
86
86
``noexcept `` and ``[[noreturn]] `` has special significance for function effects analysis.)
87
87
88
+ - The ``_LIBCPP_DISABLE_AVAILABILITY `` macro that was used to force-disable availability markup has now been removed.
89
+ Whether availability markup is used by the library is now solely controlled at configuration-time.
90
+
88
91
Upcoming Deprecations and Removals
89
92
----------------------------------
90
93
Original file line number Diff line number Diff line change 67
67
//
68
68
// [1]: https://clang.llvm.org/docs/AttributeReference.html#availability
69
69
70
- // For backwards compatibility, allow users to define _LIBCPP_DISABLE_AVAILABILITY
71
- // for a while.
72
- #if defined(_LIBCPP_DISABLE_AVAILABILITY)
73
- # if !defined(_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS)
74
- # define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS
75
- # endif
76
- #endif
77
-
78
70
// Availability markup is disabled when building the library, or when a non-Clang
79
71
// compiler is used because only Clang supports the necessary attributes.
80
72
#if defined(_LIBCPP_BUILDING_LIBRARY) || defined(_LIBCXXABI_BUILDING_LIBRARY) || !defined(_LIBCPP_COMPILER_CLANG_BASED)
You can’t perform that action at this time.
0 commit comments