Re: [PATCH 07/31] enum_flags to_string

Simon Marchi via Gdb-patches
2023-01-30T20:07:56Z

On 12/12/22 15:30, Pedro Alves wrote:
> This commit introduces shared infrastructure that can be used to
> implement enum_flags -> to_string functions. With this, if we want to
> support converting a given enum_flags specialization to string, we
> just need to implement a function that provides the enumerator->string
> mapping, like so:
>
> ...

I pushed this patch, since I was using it in my DWARF cooked index dump
patch.

Simon