File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,9 @@ Deprecations and Removals
102
102
headers as an extension and only deprecates them. The ``_LIBCPP_DISABLE_DEPRECATION_WARNINGS `` macro can be defined to
103
103
suppress deprecation for these headers.
104
104
105
+ - The ``_LIBCPP_DISABLE_AVAILABILITY `` macro that was used to force-disable availability markup has now been removed.
106
+ Whether availability markup is used by the library is now solely controlled at configuration-time.
107
+
105
108
Upcoming Deprecations and Removals
106
109
----------------------------------
107
110
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
- # undef _LIBCPP_HAS_VENDOR_AVAILABILITY_ANNOTATIONS
74
- # define _LIBCPP_HAS_VENDOR_AVAILABILITY_ANNOTATIONS 0
75
- #endif
76
-
77
70
// Availability markup is disabled when building the library, or when a non-Clang
78
71
// compiler is used because only Clang supports the necessary attributes.
79
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