aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-05-09 18:18:01 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-05-09 20:36:56 +0100
commit7bd251ca751317385f7e2e4e031736a99f376012 (patch)
tree98898ff10952d0bab23ee711e0050e0e5cc513f5 /gcc
parentbbb6cf926f1732559b3a8aaf2796d34e8651c066 (diff)
downloadgcc-7bd251ca751317385f7e2e4e031736a99f376012.zip
gcc-7bd251ca751317385f7e2e4e031736a99f376012.tar.gz
gcc-7bd251ca751317385f7e2e4e031736a99f376012.tar.bz2
libstdc++: Fix <chrono> pretty printers and add tests
This fixes a couple of errors in the printers for chrono types, and adds tests to ensure they keep working. libstdc++-v3/ChangeLog: * python/libstdcxx/v6/printers.py (StdChronoDurationPrinter): Print floating-point durations correctly. (StdChronoTimePointPrinter): Support printing only the value, not the type name. Uncomment handling for known clocks. (StdChronoZonedTimePrinter): Remove type names from output. (StdChronoCalendarPrinter): Fix hh_mm_ss member access. (StdChronoTimeZonePrinter): Add equals sign to output. * testsuite/libstdc++-prettyprinters/chrono.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions