d-demangle.c (dlang_type_modifiers): New function.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 16 May 2015 16:49:35 +0000 (16:49 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Sat, 16 May 2015 16:49:35 +0000 (16:49 +0000)
commitfa66ced4bffb93caec395411f69af70d9b4ca6ec
treef1caf4ccb2c5874c46b605a7137f357e001b5bb0
parent76b41cad1cdce692cd8756c98dd963a29b770a77
d-demangle.c (dlang_type_modifiers): New function.

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.

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