diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-04-22 22:54:34 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-04-22 22:54:34 +0100 |
commit | 56772f623e2270f0c6bfaf64e0bb41d4b6085dc4 (patch) | |
tree | 2d90147dce28c246219cebd06d0df4d390a71b1d /gcc | |
parent | 0d2dbae406c0c524436d9f818f4e06b3ff7eb964 (diff) | |
download | gcc-56772f623e2270f0c6bfaf64e0bb41d4b6085dc4.zip gcc-56772f623e2270f0c6bfaf64e0bb41d4b6085dc4.tar.gz gcc-56772f623e2270f0c6bfaf64e0bb41d4b6085dc4.tar.bz2 |
libstdc++: Add missing feature test macros
These macros all correspond to features that are already supported, but
the macro was not defined when the feature was implemented.
* include/bits/ptr_traits.h (__cpp_lib_constexpr_memory): Define to
indicate P1006R1 support.
(__cpp_lib_to_address): Define to indicate P0653R2 support.
* include/bits/range_access.h (__cpp_lib_ssize): Define to indicate
P1227R2 support.
* include/bits/ranges_algo.h (__cpp_lib_shift): Define to indicate
P0769R2 support.
* include/std/atomic (__cpp_lib_atomic_float): Define to indicate
P0020R6 support.
* include/std/memory (__cpp_lib_assume_aligned): Define to indicate
P1007R3 support.
* include/std/memory_resource (__cpp_lib_polymorphic_allocator):
Define to indicate P0339R6 support.
* include/std/string_view (__cpp_lib_starts_ends_with): Define to
indicate P0457R2 support.
* include/std/type_traits (__cpp_lib_is_nothrow_convertible): Define
to indicate P0758R1 support.
(__cpp_lib_remove_cvref): Define to indicate P0550R2 support.
(__cpp_lib_type_identity): Define to indicate P0887R1 support.
* include/std/version (__cpp_lib_atomic_float)
(__cpp_lib_is_nothrow_convertible, __cpp_lib_remove_cvref)
(__cpp_lib_type_identity, __cpp_lib_assume_aligned)
(__cpp_lib_constexpr_memory, __cpp_lib_polymorphic_allocator)
(__cpp_lib_shift, __cpp_lib_ssize, __cpp_lib_starts_ends_with)
(__cpp_lib_to_address): Define.
* testsuite/20_util/to_address/1_neg.cc: Adjust dg-error line number.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions