d: Merge upstream dmd cef1e7991.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 7 Jun 2020 09:26:32 +0000 (11:26 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sun, 7 Jun 2020 12:16:33 +0000 (14:16 +0200)
commitd8930b138788258aaad77b8fe821ce44d08a66d1
tree1093e7665bae9d6d13ece511fec69cbc16d14646
parent557a40f599f64e40cc1b20254bf82acc775375f5
d: Merge upstream dmd cef1e7991.

Adds a DString type, a struct that has a compatible layout with D
strings.  Many parameters in the Global struct have been switched over
to this type, and users of these params have been adjust to use the
length or ptr field as appropriate.

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd cef1e7991.
* d-lang.cc (d_parse_file): Adjust for new field types.
gcc/d/d-lang.cc
gcc/d/dmd/MERGE
gcc/d/dmd/attrib.c
gcc/d/dmd/cond.c
gcc/d/dmd/dimport.c
gcc/d/dmd/dmodule.c
gcc/d/dmd/expressionsem.c
gcc/d/dmd/globals.h
gcc/d/dmd/lexer.c
gcc/d/dmd/root/dcompat.h