d: Merge upstream dmd 108ca1bcd.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 7 Jun 2020 17:42:58 +0000 (19:42 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sun, 7 Jun 2020 17:44:20 +0000 (19:44 +0200)
commitfced594b313ddfb941913b2f59b10ce3514faaf6
tree95a78b41b7a8d4523a5ca102d93487e5b90f3471
parentc3a2ba10b272fd9581560604284da2a6283bcde0
d: Merge upstream dmd 108ca1bcd.

Renames OutBuffer::peekString to OutBuffer::peekChars, and
OutBuffer::extractString to OutBuffer::extractChars.  All callers have
been updated as appropriate.

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

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd 108ca1bcd.
* d-diagnostic.cc (expand_d_format): Adjust to use extractChars().
* d-frontend.cc (Loc::toChars): Likewise.
* d-lang.cc (deps_write): Likewise.
(d_parse_file): Likewise.
* decl.cc (d_mangle_decl): Likewise.
* intrinsics.cc (maybe_set_intrinsic): Likewise.
29 files changed:
gcc/d/d-diagnostic.cc
gcc/d/d-frontend.cc
gcc/d/d-lang.cc
gcc/d/decl.cc
gcc/d/dmd/MERGE
gcc/d/dmd/arrayop.c
gcc/d/dmd/attrib.c
gcc/d/dmd/cppmangle.c
gcc/d/dmd/declaration.c
gcc/d/dmd/dmangle.c
gcc/d/dmd/dmodule.c
gcc/d/dmd/doc.c
gcc/d/dmd/dscope.c
gcc/d/dmd/dtemplate.c
gcc/d/dmd/dversion.c
gcc/d/dmd/expression.c
gcc/d/dmd/expressionsem.c
gcc/d/dmd/func.c
gcc/d/dmd/hdrgen.c
gcc/d/dmd/identifier.c
gcc/d/dmd/init.c
gcc/d/dmd/mtype.c
gcc/d/dmd/parse.c
gcc/d/dmd/root/filename.c
gcc/d/dmd/root/outbuffer.c
gcc/d/dmd/root/outbuffer.h
gcc/d/dmd/statement.c
gcc/d/dmd/tokens.c
gcc/d/intrinsics.cc