aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-12-15 10:25:53 +0100
committerJakub Jelinek <jakub@redhat.com>2021-12-15 10:25:53 +0100
commita5b4ebc217afe6c31334e017d1fead4a6b8e53b2 (patch)
tree9873099fcd6aeaa5053b69ab180b7aaca7f2405b /gcc/cp/semantics.c
parent8f9fea41a767f6ad8cf3d521031048a2491f98b1 (diff)
downloadgcc-a5b4ebc217afe6c31334e017d1fead4a6b8e53b2.zip
gcc-a5b4ebc217afe6c31334e017d1fead4a6b8e53b2.tar.gz
gcc-a5b4ebc217afe6c31334e017d1fead4a6b8e53b2.tar.bz2
libstdc++: Poor man's case insensitive comparisons in time_get [PR71557]
This patch uses the same not completely correct case insensitive comparisons as used elsewhere in the same header. Proper comparisons that would handle even multi-byte characters would be harder, but I don't see them implemented in __ctype's methods. 2021-12-15 Jakub Jelinek <jakub@redhat.com> PR libstdc++/71557 * include/bits/locale_facets_nonio.tcc (_M_extract_via_format): Compare characters other than format specifiers and whitespace case insensitively. (_M_extract_name): Compare characters case insensitively. * testsuite/22_locale/time_get/get/char/71557.cc: New test. * testsuite/22_locale/time_get/get/wchar_t/71557.cc: New test.
Diffstat (limited to 'gcc/cp/semantics.c')
0 files changed, 0 insertions, 0 deletions