]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/d-demangle.c
d-demangle.c (dlang_attributes): Handle return attributes, ignoring return parameters...
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 16 May 2015 16:49:57 +0000 (16:49 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Sat, 16 May 2015 16:49:57 +0000 (16:49 +0000)
commit7ce4461f3712b9a979a41a5914ca729fe635616c
tree610a5aec9fdc36bdbcaa4dd117b7afab0f73e88b
parent5cc158e9a90083ba769d6f9d590c308e080394d5
d-demangle.c (dlang_attributes): Handle return attributes, ignoring return parameters in the mangled string.

libiberty/ChangeLog:

2015-05-16  Iain Buclaw  <ibuclaw@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.

From-SVN: r223244
libiberty/ChangeLog
libiberty/d-demangle.c
libiberty/testsuite/d-demangle-expected