d: Merge upstream dmd b0df0e982
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 7 Jun 2020 14:50:46 +0000 (16:50 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sun, 7 Jun 2020 14:50:46 +0000 (16:50 +0200)
commitc3a2ba10b272fd9581560604284da2a6283bcde0
tree9ecb66c15a440f670f9cfdccbc04c2a6e76f8cef
parent5aaccde3db39fac7e7f6677ceccc1eadd9c6a424
d: Merge upstream dmd b0df0e982

Adds a struct ParameterList to encapulate parameter and vararg
information in the front-end.

Reviewed-on: https://github.com/dlang/dmd/pull/11226

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd b0df0e982.
* d-builtins.cc (build_frontend_type): Use VarArg for varargs_p.
* d-codegen.cc (declaration_type): Call TypeFunction::create with
argument VARARGnone.
(parameter_type): Likewise.
(d_build_call): Use new field names and member functions.
* d-target.cc (Target::cppParameterType): Call TypeFunction::create
with argument VARARGnone.
* types.cc (TypeVisitor::visit (TypeFunction *): Use new field names
and member functions.
34 files changed:
gcc/d/d-builtins.cc
gcc/d/d-codegen.cc
gcc/d/d-target.cc
gcc/d/dmd/MERGE
gcc/d/dmd/arrayop.c
gcc/d/dmd/clone.c
gcc/d/dmd/cond.c
gcc/d/dmd/cppmangle.c
gcc/d/dmd/dcast.c
gcc/d/dmd/dclass.c
gcc/d/dmd/declaration.h
gcc/d/dmd/delegatize.c
gcc/d/dmd/dinterpret.c
gcc/d/dmd/dmangle.c
gcc/d/dmd/doc.c
gcc/d/dmd/dstruct.c
gcc/d/dmd/dtemplate.c
gcc/d/dmd/escape.c
gcc/d/dmd/expression.c
gcc/d/dmd/expressionsem.c
gcc/d/dmd/func.c
gcc/d/dmd/hdrgen.c
gcc/d/dmd/hdrgen.h
gcc/d/dmd/initsem.c
gcc/d/dmd/json.c
gcc/d/dmd/mtype.c
gcc/d/dmd/mtype.h
gcc/d/dmd/opover.c
gcc/d/dmd/optimize.c
gcc/d/dmd/parse.c
gcc/d/dmd/parse.h
gcc/d/dmd/statementsem.c
gcc/d/dmd/traits.c
gcc/d/types.cc