|
87 | 87 | #if defined(_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS) |
88 | 88 |
|
89 | 89 | # define _LIBCPP_INTRODUCED_IN_LLVM_4 1 |
90 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_4_MARKUP /* nothing */ |
| 90 | +# define _LIBCPP_INTRODUCED_IN_LLVM_4_ATTRIBUTE /* nothing */ |
91 | 91 |
|
92 | 92 | # define _LIBCPP_INTRODUCED_IN_LLVM_9 1 |
93 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP /* nothing */ |
94 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP_PUSH /* nothing */ |
95 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP_POP /* nothing */ |
| 93 | +# define _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE /* nothing */ |
| 94 | +# define _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE_PUSH /* nothing */ |
| 95 | +# define _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE_POP /* nothing */ |
96 | 96 |
|
97 | 97 | # define _LIBCPP_INTRODUCED_IN_LLVM_10 1 |
98 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_10_MARKUP /* nothing */ |
| 98 | +# define _LIBCPP_INTRODUCED_IN_LLVM_10_ATTRIBUTE /* nothing */ |
99 | 99 |
|
100 | 100 | # define _LIBCPP_INTRODUCED_IN_LLVM_12 1 |
101 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_12_MARKUP /* nothing */ |
| 101 | +# define _LIBCPP_INTRODUCED_IN_LLVM_12_ATTRIBUTE /* nothing */ |
102 | 102 |
|
103 | 103 | # define _LIBCPP_INTRODUCED_IN_LLVM_14 1 |
104 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_14_MARKUP /* nothing */ |
| 104 | +# define _LIBCPP_INTRODUCED_IN_LLVM_14_ATTRIBUTE /* nothing */ |
105 | 105 |
|
106 | 106 | # define _LIBCPP_INTRODUCED_IN_LLVM_15 1 |
107 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_15_MARKUP /* nothing */ |
| 107 | +# define _LIBCPP_INTRODUCED_IN_LLVM_15_ATTRIBUTE /* nothing */ |
108 | 108 |
|
109 | 109 | # define _LIBCPP_INTRODUCED_IN_LLVM_16 1 |
110 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_16_MARKUP /* nothing */ |
| 110 | +# define _LIBCPP_INTRODUCED_IN_LLVM_16_ATTRIBUTE /* nothing */ |
111 | 111 |
|
112 | 112 | # define _LIBCPP_INTRODUCED_IN_LLVM_18 1 |
113 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_18_MARKUP /* nothing */ |
| 113 | +# define _LIBCPP_INTRODUCED_IN_LLVM_18_ATTRIBUTE /* nothing */ |
114 | 114 |
|
115 | 115 | # define _LIBCPP_INTRODUCED_IN_LLVM_19 1 |
116 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_19_MARKUP /* nothing */ |
| 116 | +# define _LIBCPP_INTRODUCED_IN_LLVM_19_ATTRIBUTE /* nothing */ |
117 | 117 |
|
118 | 118 | #elif defined(__APPLE__) |
119 | 119 |
|
120 | 120 | // LLVM 4 |
121 | 121 | # if defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 50000 |
122 | 122 | # define _LIBCPP_INTRODUCED_IN_LLVM_4 0 |
123 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_4_MARKUP __attribute__((availability(watchos, strict, introduced = 5.0))) |
| 123 | +# define _LIBCPP_INTRODUCED_IN_LLVM_4_ATTRIBUTE __attribute__((availability(watchos, strict, introduced = 5.0))) |
124 | 124 | # else |
125 | 125 | # define _LIBCPP_INTRODUCED_IN_LLVM_4 1 |
126 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_4_MARKUP /* nothing */ |
| 126 | +# define _LIBCPP_INTRODUCED_IN_LLVM_4_ATTRIBUTE /* nothing */ |
127 | 127 | # endif |
128 | 128 |
|
129 | 129 | // LLVM 9 |
|
134 | 134 | (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 60000) |
135 | 135 | // clang-format on |
136 | 136 | # define _LIBCPP_INTRODUCED_IN_LLVM_9 0 |
137 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP \ |
| 137 | +# define _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE \ |
138 | 138 | __attribute__((availability(macos, strict, introduced = 10.15))) \ |
139 | 139 | __attribute__((availability(ios, strict, introduced = 13.0))) \ |
140 | 140 | __attribute__((availability(tvos, strict, introduced = 13.0))) \ |
141 | 141 | __attribute__((availability(watchos, strict, introduced = 6.0))) |
142 | 142 | // clang-format off |
143 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP_PUSH \ |
| 143 | +# define _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE_PUSH \ |
144 | 144 | _Pragma("clang attribute push(__attribute__((availability(macos,strict,introduced=10.15))), apply_to=any(function,record))") \ |
145 | 145 | _Pragma("clang attribute push(__attribute__((availability(ios,strict,introduced=13.0))), apply_to=any(function,record))") \ |
146 | 146 | _Pragma("clang attribute push(__attribute__((availability(tvos,strict,introduced=13.0))), apply_to=any(function,record))") \ |
147 | 147 | _Pragma("clang attribute push(__attribute__((availability(watchos,strict,introduced=6.0))), apply_to=any(function,record))") |
148 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP_POP \ |
| 148 | +# define _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE_POP \ |
149 | 149 | _Pragma("clang attribute pop") \ |
150 | 150 | _Pragma("clang attribute pop") \ |
151 | 151 | _Pragma("clang attribute pop") \ |
152 | 152 | _Pragma("clang attribute pop") |
153 | 153 | // clang-format on |
154 | 154 | # else |
155 | 155 | # define _LIBCPP_INTRODUCED_IN_LLVM_9 1 |
156 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP /* nothing */ |
157 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP_PUSH /* nothing */ |
158 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP_POP /* nothing */ |
| 156 | +# define _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE /* nothing */ |
| 157 | +# define _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE_PUSH /* nothing */ |
| 158 | +# define _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE_POP /* nothing */ |
159 | 159 | # endif |
160 | 160 |
|
161 | 161 | // LLVM 10 |
|
166 | 166 | (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 70000) |
167 | 167 | // clang-format on |
168 | 168 | # define _LIBCPP_INTRODUCED_IN_LLVM_10 0 |
169 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_10_MARKUP \ |
| 169 | +# define _LIBCPP_INTRODUCED_IN_LLVM_10_ATTRIBUTE \ |
170 | 170 | __attribute__((availability(macos, strict, introduced = 11.0))) \ |
171 | 171 | __attribute__((availability(ios, strict, introduced = 14.0))) \ |
172 | 172 | __attribute__((availability(tvos, strict, introduced = 14.0))) \ |
173 | 173 | __attribute__((availability(watchos, strict, introduced = 7.0))) |
174 | 174 | # else |
175 | 175 | # define _LIBCPP_INTRODUCED_IN_LLVM_10 1 |
176 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_10_MARKUP /* nothing */ |
| 176 | +# define _LIBCPP_INTRODUCED_IN_LLVM_10_ATTRIBUTE /* nothing */ |
177 | 177 | # endif |
178 | 178 |
|
179 | 179 | // LLVM 12 |
|
184 | 184 | (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 80000) |
185 | 185 | // clang-format on |
186 | 186 | # define _LIBCPP_INTRODUCED_IN_LLVM_12 0 |
187 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_12_MARKUP \ |
| 187 | +# define _LIBCPP_INTRODUCED_IN_LLVM_12_ATTRIBUTE \ |
188 | 188 | __attribute__((availability(macos, strict, introduced = 12.0))) \ |
189 | 189 | __attribute__((availability(ios, strict, introduced = 15.0))) \ |
190 | 190 | __attribute__((availability(tvos, strict, introduced = 15.0))) \ |
191 | 191 | __attribute__((availability(watchos, strict, introduced = 8.0))) |
192 | 192 | # else |
193 | 193 | # define _LIBCPP_INTRODUCED_IN_LLVM_12 1 |
194 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_12_MARKUP /* nothing */ |
| 194 | +# define _LIBCPP_INTRODUCED_IN_LLVM_12_ATTRIBUTE /* nothing */ |
195 | 195 | # endif |
196 | 196 |
|
197 | 197 | // LLVM 14 |
|
202 | 202 | (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 90500) |
203 | 203 | // clang-format on |
204 | 204 | # define _LIBCPP_INTRODUCED_IN_LLVM_14 0 |
205 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_14_MARKUP \ |
| 205 | +# define _LIBCPP_INTRODUCED_IN_LLVM_14_ATTRIBUTE \ |
206 | 206 | __attribute__((availability(macos, strict, introduced = 13.4))) \ |
207 | 207 | __attribute__((availability(ios, strict, introduced = 16.5))) \ |
208 | 208 | __attribute__((availability(tvos, strict, introduced = 16.5))) \ |
209 | 209 | __attribute__((availability(watchos, strict, introduced = 9.5))) |
210 | 210 | # else |
211 | 211 | # define _LIBCPP_INTRODUCED_IN_LLVM_14 1 |
212 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_14_MARKUP /* nothing */ |
| 212 | +# define _LIBCPP_INTRODUCED_IN_LLVM_14_ATTRIBUTE /* nothing */ |
213 | 213 | # endif |
214 | 214 |
|
215 | 215 | // LLVM 15-16 |
216 | 216 | # define _LIBCPP_INTRODUCED_IN_LLVM_15 _LIBCPP_INTRODUCED_IN_LLVM_16 |
217 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_15_MARKUP _LIBCPP_INTRODUCED_IN_LLVM_16_MARKUP |
| 217 | +# define _LIBCPP_INTRODUCED_IN_LLVM_15_ATTRIBUTE _LIBCPP_INTRODUCED_IN_LLVM_16_ATTRIBUTE |
218 | 218 | // clang-format off |
219 | 219 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 140000) || \ |
220 | 220 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 170000) || \ |
221 | 221 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 170000) || \ |
222 | 222 | (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 100000) |
223 | 223 | // clang-format on |
224 | 224 | # define _LIBCPP_INTRODUCED_IN_LLVM_16 0 |
225 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_16_MARKUP \ |
| 225 | +# define _LIBCPP_INTRODUCED_IN_LLVM_16_ATTRIBUTE \ |
226 | 226 | __attribute__((availability(macos, strict, introduced = 14.0))) \ |
227 | 227 | __attribute__((availability(ios, strict, introduced = 17.0))) \ |
228 | 228 | __attribute__((availability(tvos, strict, introduced = 17.0))) \ |
229 | 229 | __attribute__((availability(watchos, strict, introduced = 10.0))) |
230 | 230 | # else |
231 | 231 | # define _LIBCPP_INTRODUCED_IN_LLVM_16 1 |
232 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_16_MARKUP /* nothing */ |
| 232 | +# define _LIBCPP_INTRODUCED_IN_LLVM_16_ATTRIBUTE /* nothing */ |
233 | 233 | # endif |
234 | 234 |
|
235 | 235 | // LLVM 18 |
236 | 236 | // TODO: Fill this in |
237 | 237 | # if 1 |
238 | 238 | # define _LIBCPP_INTRODUCED_IN_LLVM_18 0 |
239 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_18_MARKUP __attribute__((unavailable)) |
| 239 | +# define _LIBCPP_INTRODUCED_IN_LLVM_18_ATTRIBUTE __attribute__((unavailable)) |
240 | 240 | # else |
241 | 241 | # define _LIBCPP_INTRODUCED_IN_LLVM_18 1 |
242 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_18_MARKUP /* nothing */ |
| 242 | +# define _LIBCPP_INTRODUCED_IN_LLVM_18_ATTRIBUTE /* nothing */ |
243 | 243 | # endif |
244 | 244 |
|
245 | 245 | // LLVM 19 |
246 | 246 | // TODO: Fill this in |
247 | 247 | # if 1 |
248 | 248 | # define _LIBCPP_INTRODUCED_IN_LLVM_19 0 |
249 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_19_MARKUP __attribute__((unavailable)) |
| 249 | +# define _LIBCPP_INTRODUCED_IN_LLVM_19_ATTRIBUTE __attribute__((unavailable)) |
250 | 250 | # else |
251 | 251 | # define _LIBCPP_INTRODUCED_IN_LLVM_19 1 |
252 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_19_MARKUP /* nothing */ |
| 252 | +# define _LIBCPP_INTRODUCED_IN_LLVM_19_ATTRIBUTE /* nothing */ |
253 | 253 | # endif |
254 | 254 |
|
255 | 255 | #else |
|
270 | 270 | // these exceptions can be used even on older deployment targets, but those |
271 | 271 | // methods will abort instead of throwing. |
272 | 272 | #define _LIBCPP_AVAILABILITY_HAS_BAD_OPTIONAL_ACCESS _LIBCPP_INTRODUCED_IN_LLVM_4 |
273 | | -#define _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS _LIBCPP_INTRODUCED_IN_LLVM_4_MARKUP |
| 273 | +#define _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS _LIBCPP_INTRODUCED_IN_LLVM_4_ATTRIBUTE |
274 | 274 |
|
275 | 275 | #define _LIBCPP_AVAILABILITY_HAS_BAD_VARIANT_ACCESS _LIBCPP_INTRODUCED_IN_LLVM_4 |
276 | | -#define _LIBCPP_AVAILABILITY_BAD_VARIANT_ACCESS _LIBCPP_INTRODUCED_IN_LLVM_4_MARKUP |
| 276 | +#define _LIBCPP_AVAILABILITY_BAD_VARIANT_ACCESS _LIBCPP_INTRODUCED_IN_LLVM_4_ATTRIBUTE |
277 | 277 |
|
278 | 278 | #define _LIBCPP_AVAILABILITY_HAS_BAD_ANY_CAST _LIBCPP_INTRODUCED_IN_LLVM_4 |
279 | | -#define _LIBCPP_AVAILABILITY_BAD_ANY_CAST _LIBCPP_INTRODUCED_IN_LLVM_4_MARKUP |
| 279 | +#define _LIBCPP_AVAILABILITY_BAD_ANY_CAST _LIBCPP_INTRODUCED_IN_LLVM_4_ATTRIBUTE |
280 | 280 |
|
281 | 281 | // These macros control the availability of all parts of <filesystem> that |
282 | 282 | // depend on something in the dylib. |
283 | 283 | #define _LIBCPP_AVAILABILITY_HAS_FILESYSTEM_LIBRARY _LIBCPP_INTRODUCED_IN_LLVM_9 |
284 | | -#define _LIBCPP_AVAILABILITY_FILESYSTEM_LIBRARY _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP |
285 | | -#define _LIBCPP_AVAILABILITY_FILESYSTEM_LIBRARY_PUSH _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP_PUSH |
286 | | -#define _LIBCPP_AVAILABILITY_FILESYSTEM_LIBRARY_POP _LIBCPP_INTRODUCED_IN_LLVM_9_MARKUP_POP |
| 284 | +#define _LIBCPP_AVAILABILITY_FILESYSTEM_LIBRARY _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE |
| 285 | +#define _LIBCPP_AVAILABILITY_FILESYSTEM_LIBRARY_PUSH _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE_PUSH |
| 286 | +#define _LIBCPP_AVAILABILITY_FILESYSTEM_LIBRARY_POP _LIBCPP_INTRODUCED_IN_LLVM_9_ATTRIBUTE_POP |
287 | 287 |
|
288 | 288 | // This controls the availability of the C++20 synchronization library, |
289 | 289 | // which requires shared library support for various operations |
290 | 290 | // (see libcxx/src/atomic.cpp). This includes <barier>, <latch>, |
291 | 291 | // <semaphore>, and notification functions on std::atomic. |
292 | 292 | #define _LIBCPP_AVAILABILITY_HAS_SYNC _LIBCPP_INTRODUCED_IN_LLVM_10 |
293 | | -#define _LIBCPP_AVAILABILITY_SYNC _LIBCPP_INTRODUCED_IN_LLVM_10_MARKUP |
| 293 | +#define _LIBCPP_AVAILABILITY_SYNC _LIBCPP_INTRODUCED_IN_LLVM_10_ATTRIBUTE |
294 | 294 |
|
295 | 295 | // Enable additional explicit instantiations of iostreams components. This |
296 | 296 | // reduces the number of weak definitions generated in programs that use |
|
308 | 308 | // This controls the availability of floating-point std::to_chars functions. |
309 | 309 | // These overloads were added later than the integer overloads. |
310 | 310 | #define _LIBCPP_AVAILABILITY_HAS_TO_CHARS_FLOATING_POINT _LIBCPP_INTRODUCED_IN_LLVM_14 |
311 | | -#define _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_INTRODUCED_IN_LLVM_14_MARKUP |
| 311 | +#define _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_INTRODUCED_IN_LLVM_14_ATTRIBUTE |
312 | 312 |
|
313 | 313 | // This controls whether the library claims to provide a default verbose |
314 | 314 | // termination function, and consequently whether the headers will try |
315 | 315 | // to use it when the mechanism isn't overriden at compile-time. |
316 | 316 | #define _LIBCPP_AVAILABILITY_HAS_VERBOSE_ABORT _LIBCPP_INTRODUCED_IN_LLVM_15 |
317 | | -#define _LIBCPP_AVAILABILITY_VERBOSE_ABORT _LIBCPP_INTRODUCED_IN_LLVM_15_MARKUP |
| 317 | +#define _LIBCPP_AVAILABILITY_VERBOSE_ABORT _LIBCPP_INTRODUCED_IN_LLVM_15_ATTRIBUTE |
318 | 318 |
|
319 | 319 | // This controls the availability of the C++17 std::pmr library, |
320 | 320 | // which is implemented in large part in the built library. |
|
330 | 330 | // in the built library, which std::make_exception_ptr might use |
331 | 331 | // (see libcxx/include/__exception/exception_ptr.h). |
332 | 332 | #define _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION _LIBCPP_INTRODUCED_IN_LLVM_18 |
333 | | -#define _LIBCPP_AVAILABILITY_INIT_PRIMARY_EXCEPTION _LIBCPP_INTRODUCED_IN_LLVM_18_MARKUP |
| 333 | +#define _LIBCPP_AVAILABILITY_INIT_PRIMARY_EXCEPTION _LIBCPP_INTRODUCED_IN_LLVM_18_ATTRIBUTE |
334 | 334 |
|
335 | 335 | // This controls the availability of C++23 <print>, which |
336 | 336 | // has a dependency on the built library (it needs access to |
337 | 337 | // the underlying buffer types of std::cout, std::cerr, and std::clog. |
338 | 338 | #define _LIBCPP_AVAILABILITY_HAS_PRINT _LIBCPP_INTRODUCED_IN_LLVM_18 |
339 | | -#define _LIBCPP_AVAILABILITY_PRINT _LIBCPP_INTRODUCED_IN_LLVM_18_MARKUP |
| 339 | +#define _LIBCPP_AVAILABILITY_PRINT _LIBCPP_INTRODUCED_IN_LLVM_18_ATTRIBUTE |
340 | 340 |
|
341 | 341 | // This controls the availability of the C++20 time zone database. |
342 | 342 | // The parser code is built in the library. |
343 | 343 | #define _LIBCPP_AVAILABILITY_HAS_TZDB _LIBCPP_INTRODUCED_IN_LLVM_19 |
344 | | -#define _LIBCPP_AVAILABILITY_TZDB _LIBCPP_INTRODUCED_IN_LLVM_19_MARKUP |
| 344 | +#define _LIBCPP_AVAILABILITY_TZDB _LIBCPP_INTRODUCED_IN_LLVM_19_ATTRIBUTE |
345 | 345 |
|
346 | 346 | // These macros determine whether we assume that std::bad_function_call and |
347 | 347 | // std::bad_expected_access provide a key function in the dylib. This allows |
348 | 348 | // centralizing their vtable and typeinfo instead of having all TUs provide |
349 | 349 | // a weak definition that then gets deduplicated. |
350 | | -# define _LIBCPP_AVAILABILITY_HAS_BAD_FUNCTION_CALL_KEY_FUNCTION _LIBCPP_INTRODUCED_IN_LLVM_19 |
351 | | -# define _LIBCPP_AVAILABILITY_BAD_FUNCTION_CALL_KEY_FUNCTION _LIBCPP_INTRODUCED_IN_LLVM_19_MARKUP |
352 | | -# define _LIBCPP_AVAILABILITY_HAS_BAD_EXPECTED_ACCESS_KEY_FUNCTION _LIBCPP_INTRODUCED_IN_LLVM_19 |
353 | | -# define _LIBCPP_AVAILABILITY_BAD_EXPECTED_ACCESS_KEY_FUNCTION _LIBCPP_INTRODUCED_IN_LLVM_19_MARKUP |
| 350 | +#define _LIBCPP_AVAILABILITY_HAS_BAD_FUNCTION_CALL_KEY_FUNCTION _LIBCPP_INTRODUCED_IN_LLVM_19 |
| 351 | +#define _LIBCPP_AVAILABILITY_BAD_FUNCTION_CALL_KEY_FUNCTION _LIBCPP_INTRODUCED_IN_LLVM_19_ATTRIBUTE |
| 352 | +#define _LIBCPP_AVAILABILITY_HAS_BAD_EXPECTED_ACCESS_KEY_FUNCTION _LIBCPP_INTRODUCED_IN_LLVM_19 |
| 353 | +#define _LIBCPP_AVAILABILITY_BAD_EXPECTED_ACCESS_KEY_FUNCTION _LIBCPP_INTRODUCED_IN_LLVM_19_ATTRIBUTE |
354 | 354 |
|
355 | 355 | // Define availability attributes that depend on _LIBCPP_HAS_NO_EXCEPTIONS. |
356 | 356 | // Those are defined in terms of the availability attributes above, and |
|
0 commit comments