diff options
author | Philipp Fent <fent@in.tum.de> | 2022-04-25 13:03:31 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-04-25 13:32:04 +0100 |
commit | 71999fde2a454d1fa149e63825d8edbe0748c911 (patch) | |
tree | ff6a87cb294117a3d5a0b70de6d392a3dc3badfb /gcc/gimple-range.cc | |
parent | 6cc26f3037a18b9a958b4ac2a1363149a7fccd39 (diff) | |
download | gcc-71999fde2a454d1fa149e63825d8edbe0748c911.zip gcc-71999fde2a454d1fa149e63825d8edbe0748c911.tar.gz gcc-71999fde2a454d1fa149e63825d8edbe0748c911.tar.bz2 |
libstdc++: Add pretty printer for std::initializer_list
Re-using the std::span printer, this now shows the contents of the
initializer list instead of the pointer and length members.
Signed-off-by: Philipp Fent <fent@in.tum.de>
libstdc++-v3/ChangeLog:
* python/libstdcxx/v6/printers.py (StdSpanPrinter._iterator):
Rename as iterator.
(StdInitializerListPrinter): Define new printer.
(build_libstdcxx_dictionary): Register new printer.
* testsuite/libstdc++-prettyprinters/cxx11.cc: Check printer for
initializer_list.
Diffstat (limited to 'gcc/gimple-range.cc')
0 files changed, 0 insertions, 0 deletions