d: Merge upstream dmd 5fc1806cd.
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 23 Jun 2020 14:42:54 +0000 (16:42 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 25 Jun 2020 15:02:46 +0000 (17:02 +0200)
commitd103f336bdc3144e756c7634b8914830c867896d
treeaf8108e72597172e7029a39bd853598cdf2f490a
parent62e02c8729a75c4a859edc18e0bcafb87d717f46
d: Merge upstream dmd 5fc1806cd.

Backports the OutBuffer interface from upstream dmd master, removing
another difference this and the self-hosted D branch that is purely
refactoring, and doesn't introduce any mechanical changes.

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

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd 5fc1806cd.
* d-lang.cc (d_parse_file): Use peekChars to get string representation
of OutBuffer data.
17 files changed:
gcc/d/d-lang.cc
gcc/d/dmd/MERGE
gcc/d/dmd/dcast.c
gcc/d/dmd/dmacro.c
gcc/d/dmd/dmangle.c
gcc/d/dmd/dmodule.c
gcc/d/dmd/doc.c
gcc/d/dmd/dsymbol.h
gcc/d/dmd/expression.c
gcc/d/dmd/hdrgen.c
gcc/d/dmd/json.c
gcc/d/dmd/lexer.c
gcc/d/dmd/macro.h
gcc/d/dmd/mtype.c
gcc/d/dmd/root/filename.c
gcc/d/dmd/root/outbuffer.c
gcc/d/dmd/root/outbuffer.h