libiberty/ChangeLog:
commitb5e0673b2782c7509b782504d6b312fba3d9dcfe
authoribuclaw <ibuclaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 May 2015 16:49:35 +0000 (16 16:49 +0000)
committeribuclaw <ibuclaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 May 2015 16:49:35 +0000 (16 16:49 +0000)
treef1caf4ccb2c5874c46b605a7137f357e001b5bb0
parentfb21d482ef9b0baf3051e7e9b4a5be02dd483aba
libiberty/ChangeLog:

2015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>

* d-demangle.c (dlang_type_modifiers): New function.
(dlang_type_modifier_p): New function.
(dlang_call_convention_p): Ignore any kind of type modifier.
(dlang_type): Handle and emit the type modifier after delegate types.
(dlang_parse_symbol): Handle and emit the type modifier after the symbol.
* testsuite/d-demangle-expected: Add coverage tests for all valid
usages of function symbols with type modifiers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223242 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/d-demangle.c
libiberty/testsuite/d-demangle-expected