d: Merge upstream dmd 9038e64c5.
authorIain Buclaw <ibuclaw@gdcproject.org>
Thu, 7 Jan 2021 17:03:33 +0000 (18:03 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 7 Jan 2021 17:22:36 +0000 (18:22 +0100)
commitdddea6d4d81cac76ff64cde178e2d5f7fe09fb55
treef8c2345d5a980c6523798c1388a777e05fdaf500
parentd54029179cbe817eaf9b6899339b0151cff3c00e
d: Merge upstream dmd 9038e64c5.

Adds support for using user-defined attributes on function arguments and
single-parameter alias declarations.  These attributes behave analogous
to existing UDAs.

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd 9038e64c5.
* d-builtins.cc (build_frontend_type): Update call to
Parameter::create.
20 files changed:
gcc/d/d-builtins.cc
gcc/d/dmd/MERGE
gcc/d/dmd/arrayop.c
gcc/d/dmd/clone.c
gcc/d/dmd/cond.c
gcc/d/dmd/declaration.c
gcc/d/dmd/dtemplate.c
gcc/d/dmd/expression.c
gcc/d/dmd/expressionsem.c
gcc/d/dmd/func.c
gcc/d/dmd/hdrgen.c
gcc/d/dmd/mtype.c
gcc/d/dmd/mtype.h
gcc/d/dmd/parse.c
gcc/d/dmd/statementsem.c
gcc/d/dmd/traits.c
gcc/testsuite/gdc.test/compilable/extra-files/header1.d
gcc/testsuite/gdc.test/compilable/testheaderudamodule.d
gcc/testsuite/gdc.test/fail_compilation/fail10207.d
gcc/testsuite/gdc.test/runnable/uda.d