On 05/13/2015 02:51 AM, Iain Buclaw wrote:
The next version of D introduces two new mangle conventions.

- Nj to represent methods whose 'this' parameter is also the function
return value
- Nk to represent a 'ref' parameter that is also the function return value

This patch introduces support for these two symbols.

---
libiberty/ChangeLog:

2015-05-13 Iain Buclaw  <ibuc...@gdcproject.org>

     * d-demangle.c (dlang_attributes): Handle return attributes, ignoring
     return parameters in the mangled string.  Return NULL if have encountered
     an unknown attribute.
     (dlang_function_args): Handle return parameters in the mangled string.
     * testsuite/d-demangle-expected: Add coverage tests for functions with
     return parameters and return attributes.
OK.
jeff

Reply via email to