diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-10-08 14:52:07 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-10-09 00:57:49 +0100 |
commit | 4bdb9d618d30fc33d7eaab374baf377fa4e9d955 (patch) | |
tree | 8eb6d343d487b65fa9671831209b14ced33d60c4 /gcc/c/c-parser.c | |
parent | 4997c8b30ecfc82f9e6ce874cbd3840e227522eb (diff) | |
download | gcc-4bdb9d618d30fc33d7eaab374baf377fa4e9d955.zip gcc-4bdb9d618d30fc33d7eaab374baf377fa4e9d955.tar.gz gcc-4bdb9d618d30fc33d7eaab374baf377fa4e9d955.tar.bz2 |
libstdc++: Enable type traits for wchar_t unconditionally [PR98725]
None of these traits depend on libc support for wchar_t, so they should
be defined unconditionally. The wchar_t type is always defined in C++.
libstdc++-v3/ChangeLog:
PR libstdc++/98725
* include/c_global/cstddef [!_GLIBCXX_USE_WCHAR_T]
(__byte_operand<wchar_t>): Define specialization.
* include/std/type_traits (__make_signed<wchar_t>)
(__make_unsigned<wchar_t>): Remove redundant check for
__WCHAR_TYPE__ being defined.
* include/tr1/type_traits [!_GLIBCXX_USE_WCHAR_T]
(__is_integral_helper<wchar_t>): Likewise.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions