diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-08-23 12:10:16 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-08-24 13:40:25 +0100 |
commit | 3d2e240af7704b7c4fc15fb3c8b282556841108d (patch) | |
tree | 9e9bf06ab661778961f1e1b1c1334cffc68a544e /gcc/fortran/data.cc | |
parent | 701ce3c723623af13597c05df09a049c57c52fc0 (diff) | |
download | gcc-3d2e240af7704b7c4fc15fb3c8b282556841108d.zip gcc-3d2e240af7704b7c4fc15fb3c8b282556841108d.tar.gz gcc-3d2e240af7704b7c4fc15fb3c8b282556841108d.tar.bz2 |
libstdc++: Add pretty printer for std::locale
Print the locale's name, except when it uses the same named C locale for
all categories except one, in which case print something like:
std::locale = "en_GB.UTF-8" with "LC_CTYPE=en_US.UTF-8"
libstdc++-v3/ChangeLog:
* python/libstdcxx/v6/printers.py (StdLocalePrinter): New
printer class.
* testsuite/libstdc++-prettyprinters/locale.cc: New test.
Diffstat (limited to 'gcc/fortran/data.cc')
0 files changed, 0 insertions, 0 deletions