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

2022-04-19 Thread Jonathan Wakely via Gcc-patches
On Tue, 19 Apr 2022 at 12:33, Philipp Fent via Libstdc++ wrote: > > On 19.04.22 12:28, Jonathan Wakely wrote: > > Thanks, but we still need the DCO sign-off as I mailed about last week. > > Thanks for the clarification, your last mail didn't appear to have > content, so I might have missed that pa

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

2022-04-19 Thread Philipp Fent via Gcc-patches
hilippFrom 64b6779c2694f57981e15b9c1dfa59b192e99a16 Mon Sep 17 00:00:00 2001 From: Philipp Fent Date: Mon, 4 Apr 2022 12:52:57 +0200 Subject: [PATCH] libstdc++: Add pretty printer for std::span This improves the debug output for C++20 spans. Before: {static extent = 18446744073709551615, _M_ptr = 0x7fffb9a8,

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

2022-04-19 Thread Jonathan Wakely via Gcc-patches
On Tue, 19 Apr 2022 at 10:34, Philipp Fent wrote: > > On 04.04.22 13:39, Jonathan Wakely wrote: > > Nice, thanks. I'll get this committed in time for GCC 12 (and backport > > it to release branches too). > > I've attached a rebased patch for trunk and tested it on x86_64-linux. > I also backported

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

2022-04-19 Thread Philipp Fent via Gcc-patches
on gcc-10 the prettyprinters testsuite reports "unsupported", and gcc-9 didn't have std::span yet.From 0f4ae81980ea1181aca4deca0508628f9f30e72b Mon Sep 17 00:00:00 2001 From: Philipp Fent Date: Mon, 4 Apr 2022 12:52:57 +0200 Subject: [PATCH] libstdc++: Add pretty printer for std

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

2022-04-14 Thread Jonathan Wakely via Gcc-patches
On Mon, 4 Apr 2022 at 11:54, Philipp Fent via Libstdc++ wrote: > > This improves the debug output for C++20 spans. > Before: > {static extent = 18446744073709551615, _M_ptr = 0x7fffb9a8, > _M_extent = {_M_extent_value = 2}} > Now with StdSpanPrinter: > std::span of length 2 = {1, 2}

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

2022-04-04 Thread Jonathan Wakely via Gcc-patches
On Mon, 4 Apr 2022 at 11:54, Philipp Fent via Libstdc++ wrote: > > This improves the debug output for C++20 spans. > Before: > {static extent = 18446744073709551615, _M_ptr = 0x7fffb9a8, > _M_extent = {_M_extent_value = 2}} > Now with StdSpanPrinter: > std::span of length 2 = {1, 2} Nice, tha

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

2022-04-04 Thread Philipp Fent via Gcc-patches
This improves the debug output for C++20 spans. Before: {static extent = 18446744073709551615, _M_ptr = 0x7fffb9a8, _M_extent = {_M_extent_value = 2}} Now with StdSpanPrinter: std::span of length 2 = {1, 2} --- libstdc++-v3/python/libstdcxx/v6/printers.py | 38 +++ .../libstdc