On Fri, 2020-08-07 at 13:32 +0200, Iain Buclaw via Gcc-patches wrote:
> Hi,
>
> This patch adds support for 'in' as a first-class storage class with its
> own mangle symbol, of which also permits 'in ref'. Previously, 'in' was
> an alias to 'const [scope]', which is a type constructor.
>
> The mangle symbol repurposed for this is 'I', which was originally used
> by identifier types. However, while TypeIdentifier is part of the
> grammar, it must be resolved to some other entity during the semantic
> passes, and so shouldn't appear anywhere in the mangled name.
>
> OK for mainline?
>
> Regards
> Iain.
>
> ---
> libiberty/ChangeLog:
>
> * d-demangle.c (dlang_function_args): Handle 'in' and 'in ref'
> parameter storage classes.
> (dlang_type): Remove identifier type.
> * testsuite/d-demangle-expected: Update tests.
OK
jeff
>