File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -334,26 +334,16 @@ _LIBCPP_HARDENING_MODE_DEBUG
334
334
# define _LIBCPP_CXX03_LANG
335
335
# endif
336
336
337
- # ifndef __has_attribute
338
- # define __has_attribute (__x ) 0
339
- # endif
340
-
341
- # ifndef __has_builtin
342
- # define __has_builtin (__x ) 0
343
- # endif
344
-
337
+ // TODO: Remove once we switch to GCC 14
345
338
# ifndef __has_extension
346
339
# define __has_extension (__x ) 0
347
340
# endif
348
341
342
+ // TODO: Remove once we switch to GCC 14
349
343
# ifndef __has_feature
350
344
# define __has_feature (__x ) 0
351
345
# endif
352
346
353
- # ifndef __has_cpp_attribute
354
- # define __has_cpp_attribute (__x ) 0
355
- # endif
356
-
357
347
# ifndef __has_constexpr_builtin
358
348
# define __has_constexpr_builtin (x ) 0
359
349
# endif
@@ -375,10 +365,6 @@ _LIBCPP_HARDENING_MODE_DEBUG
375
365
376
366
# define __has_keyword (__x ) !(__is_identifier(__x))
377
367
378
- # ifndef __has_include
379
- # define __has_include (...) 0
380
- # endif
381
-
382
368
# ifndef __has_warning
383
369
# define __has_warning (...) 0
384
370
# endif
You can’t perform that action at this time.
0 commit comments