Re: [PATCH] libstdc++: Add pretty printer for std::initializer_list

2022-04-25 Thread Jonathan Wakely via Gcc-patches
On Sun, 24 Apr 2022 at 16:51, Philipp Fent via Libstdc++ wrote: > > Re-using the std::span printer, this now shows the contents of the > initializer list instead of the pointer and length members. Nice, I've pushed this to trunk. Thanks! > > Signed-off-by: Philipp Fent > --- > libstdc++-v3/py

[PATCH] libstdc++: Add pretty printer for std::initializer_list

2022-04-24 Thread Philipp Fent via Gcc-patches
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 --- libstdc++-v3/python/libstdcxx/v6/printers.py | 23 +-- .../libstdc++-prettyprinters/cxx11.cc | 6 + 2 files