summaryrefslogtreecommitdiff
path: root/libphobos
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-08-04 18:11:51 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-08-26 10:03:56 +0200
commit387d0773f39a56b2a831a2b7e7ed189d6ffc2f36 (patch)
tree76be22c67db978cec95182958ee7bbbb67841a54 /libphobos
parentf0a0a84cd9a75052114066a15beebeee8c2cf8ab (diff)
downloadgcc-387d0773f39a56b2a831a2b7e7ed189d6ffc2f36.tar.gz
libiberty: Add support for `in' and `in ref' storage classes.
The storage class `in' is now a first-class citizen with its own mangle symbol, of which also permits `in ref'. Previously, `in' was an alias to `const [scope]', which is a type constructor. The mangle symbol repurposed for this is `I', which was originally used by identifier types. However, while TypeIdentifier is part of the grammar, it must be resolved to some other entity during the semantic passes, and so shouldn't appear anywhere in the mangled name. Old tests that are now no longer valid have been removed. libiberty/ChangeLog: * d-demangle.c (dlang_function_args): Handle 'in' and 'in ref' parameter storage classes. (dlang_type): Remove identifier type. * testsuite/d-demangle-expected: Update tests.
Diffstat (limited to 'libphobos')
0 files changed, 0 insertions, 0 deletions