d-demangle.c (dlang_parse_symbol): Remove function.
authorIain Buclaw <ibuclaw@gdcproject.org>
Mon, 1 May 2017 22:51:04 +0000 (22:51 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Mon, 1 May 2017 22:51:04 +0000 (22:51 +0000)
commit5a4dbf7d315730cf6c94a67a42e8cc3a41047ff5
tree9c2a0d993a3e00604f0d3eb86032f51422a07a6e
parent5166bee456c653c4eded6f496d66b748ed6ec82f
d-demangle.c (dlang_parse_symbol): Remove function.

libiberty/ChangeLog:

* d-demangle.c (dlang_parse_symbol): Remove function.
(dlang_parse_qualified): New function.
(dlang_parse_mangle): New function.
(dlang_type): Update to call dlang_parse_qualified.
(dlang_identifier): Update to call either dlang_parse_qualified or
dlang_parse_mangle.
(dlang_type_modifier_p): Remove function.
(dlang_call_convention_p): Don't allow type modifiers in mangle.
(dlang_template_args): Update to call dlang_identifier.
(dlang_demangle): Update to call dlang_parse_mangle.
* testsuite/d-demangle-expected: Add tests.

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