diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-08-29 20:04:24 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-08-30 01:14:18 +0200 |
commit | 34f3e0657a1fa976d989b22d18b3b2adf6ddd59b (patch) | |
tree | f42ebab871e2504b77aa9d328bb4b63abd7957be /libiberty/getopt1.c | |
parent | 0e32a5aa8bc967bc183142a596d0a6460be27438 (diff) | |
download | gcc-34f3e0657a1fa976d989b22d18b3b2adf6ddd59b.zip gcc-34f3e0657a1fa976d989b22d18b3b2adf6ddd59b.tar.gz gcc-34f3e0657a1fa976d989b22d18b3b2adf6ddd59b.tar.bz2 |
libiberty: Add support for demangling D function literals as template value parameters
The D language now allows instantiating templates using struct literals
that have function literal fields as a value argument.
libiberty/ChangeLog:
* d-demangle.c (dlang_parse_arrayliteral): Add 'info' parameter.
(dlang_parse_assocarray): Likewise.
(dlang_parse_structlit): Likewise.
(dlang_value): Likewise. Handle function literal symbols.
(dlang_template_args): Pass 'info' to dlang_value.
* testsuite/d-demangle-expected: Add new test.
Diffstat (limited to 'libiberty/getopt1.c')
0 files changed, 0 insertions, 0 deletions