aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/d-lang.cc
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2024-03-11 22:38:33 +0100
committerThomas Schwinge <tschwinge@baylibre.com>2024-03-11 22:38:33 +0100
commit4235574518bd016f208b97f6f497978c31771e12 (patch)
tree06362f23752d180e7ce4e6407787beba9634505c /gcc/d/d-lang.cc
parent2cd7fb664ce9617c90b65b399423d330e1a78068 (diff)
parent0d9b4e8647ff01c3d3a782ab26684ca5a7c2f527 (diff)
downloadgcc-4235574518bd016f208b97f6f497978c31771e12.zip
gcc-4235574518bd016f208b97f6f497978c31771e12.tar.gz
gcc-4235574518bd016f208b97f6f497978c31771e12.tar.bz2
Merge commit '46595ce72e5855189e3c60a140c3ca5aaddfb58c^' into HEAD
Diffstat (limited to 'gcc/d/d-lang.cc')
-rw-r--r--gcc/d/d-lang.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/d/d-lang.cc b/gcc/d/d-lang.cc
index 10b9000..7dddcf5 100644
--- a/gcc/d/d-lang.cc
+++ b/gcc/d/d-lang.cc
@@ -1101,7 +1101,7 @@ d_parse_file (void)
if (m->filetype == FileType::ddoc)
{
- gendocfile (m);
+ gendocfile (m, global.errorSink);
/* Remove M from list of modules. */
modules.remove (i);
i--;
@@ -1256,7 +1256,7 @@ d_parse_file (void)
/* Declare the name of the root module as the first global name in order
to make the middle-end fully deterministic. */
OutBuffer buf;
- mangleToBuffer (Module::rootModule, &buf);
+ mangleToBuffer (Module::rootModule, buf);
first_global_object_name = buf.extractChars ();
}
@@ -1337,7 +1337,7 @@ d_parse_file (void)
for (size_t i = 0; i < modules.length; i++)
{
Module *m = modules[i];
- gendocfile (m);
+ gendocfile (m, global.errorSink);
}
}