diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2024-02-17 21:03:38 +0100 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2024-02-17 21:28:58 +0100 |
commit | 5aff58e5ed8f634e0b20892452bde484db93039b (patch) | |
tree | 64900b511f0dbee5f61fb9e3e19c1ee8274f166a /gcc/d/d-lang.cc | |
parent | a71d87431d0c4e04a402ef6566be090c470b2b53 (diff) | |
download | gcc-5aff58e5ed8f634e0b20892452bde484db93039b.zip gcc-5aff58e5ed8f634e0b20892452bde484db93039b.tar.gz gcc-5aff58e5ed8f634e0b20892452bde484db93039b.tar.bz2 |
d: Merge dmd, druntime 9471b25db9, phobos 547886846.
D front-end changes:
- Import dmd v2.107.1-rc.1.
D runtime changes:
- Import druntime v2.107.1-rc.1.
Phobos changes:
- Import phobos v2.107.1-rc.1.
gcc/d/ChangeLog:
* dmd/MERGE: Merge upstream dmd 9471b25db9.
* dmd/VERSION: Bump version to v2.107.1-rc.1.
* Make-lang.in (D_FRONTEND_OBJS): Add d/cxxfrontend.o.
* d-attribs.cc (build_attributes): Update for new front-end interface.
* d-builtins.cc (build_frontend_type): Likewise.
(strip_type_modifiers): Likewise.
(covariant_with_builtin_type_p): Likewise.
* d-codegen.cc (declaration_type): Likewise.
(parameter_type): Likewise.
(build_array_struct_comparison): Likewise.
(void_okay_p): Likewise.
* d-convert.cc (convert_expr): Likewise.
(check_valist_conversion): Likewise.
* d-lang.cc (d_generate_ddoc_file): Likewise.
(d_parse_file): Likewise.
* d-target.cc (TargetCPP::toMangle): Likewise.
(TargetCPP::typeInfoMangle): Likewise.
(TargetCPP::thunkMangle): Likewise.
(TargetCPP::parameterType): Likewise.
* decl.cc (d_mangle_decl): Likewise.
(DeclVisitor::visit): Likewise.
(DeclVisitor::visit (CAsmDeclaration *)): New method.
(get_symbol_decl): Update for new front-end interface.
(layout_class_initializer): Likewise.
* expr.cc (ExprVisitor::visit): Likewise.
* intrinsics.cc (maybe_set_intrinsic): Likewise.
(expand_intrinsic_rotate): Likewise.
* modules.cc (layout_moduleinfo_fields): Likewise.
(layout_moduleinfo): Likewise.
* runtime.cc (get_libcall_type): Likewise.
* typeinfo.cc (make_frontend_typeinfo): Likewise.
(TypeInfoVisitor::visit): Likewise.
(create_typeinfo): Likewise.
* types.cc (same_type_p): Likewise.
(build_ctype): Likewise.
libphobos/ChangeLog:
* libdruntime/MERGE: Merge upstream druntime 9471b25db9.
* src/MERGE: Merge upstream phobos 547886846.
Diffstat (limited to 'gcc/d/d-lang.cc')
-rw-r--r-- | gcc/d/d-lang.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gcc/d/d-lang.cc b/gcc/d/d-lang.cc index 138a7f9..89ffa7e 100644 --- a/gcc/d/d-lang.cc +++ b/gcc/d/d-lang.cc @@ -1029,8 +1029,8 @@ d_generate_ddoc_file (Module *m, OutBuffer &ddocbuf) d_read_ddoc_files (global.params.ddoc.files, ddocbuf); OutBuffer ddocbuf_out; - gendocfile (m, ddocbuf.peekChars (), ddocbuf.length (), global.datetime, - global.errorSink, ddocbuf_out); + dmd::gendocfile (m, ddocbuf.peekChars (), ddocbuf.length (), global.datetime, + global.errorSink, ddocbuf_out); d_write_file (m->docfile.toChars (), ddocbuf_out.peekChars ()); } @@ -1205,7 +1205,7 @@ d_parse_file (void) message ("import %s", m->toChars ()); OutBuffer buf; - genhdrfile (m, global.params.dihdr.fullOutput, buf); + dmd::genhdrfile (m, global.params.dihdr.fullOutput, buf); d_write_file (m->hdrfile.toChars (), buf.peekChars ()); } @@ -1223,7 +1223,7 @@ d_parse_file (void) if (global.params.v.verbose) message ("importall %s", m->toChars ()); - importAll (m, NULL); + dmd::importAll (m, NULL); } if (global.errors) @@ -1247,7 +1247,7 @@ d_parse_file (void) if (global.params.v.verbose) message ("semantic %s", m->toChars ()); - dsymbolSemantic (m, NULL); + dmd::dsymbolSemantic (m, NULL); } /* Do deferred semantic analysis. */ @@ -1278,7 +1278,7 @@ d_parse_file (void) if (global.params.v.verbose) message ("semantic2 %s", m->toChars ()); - semantic2 (m, NULL); + dmd::semantic2 (m, NULL); } Module::runDeferredSemantic2 (); @@ -1294,7 +1294,7 @@ d_parse_file (void) if (global.params.v.verbose) message ("semantic3 %s", m->toChars ()); - semantic3 (m, NULL); + dmd::semantic3 (m, NULL); } Module::runDeferredSemantic3 (); @@ -1318,7 +1318,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); + dmd::mangleToBuffer (Module::rootModule, buf); first_global_object_name = buf.extractChars (); } @@ -1341,15 +1341,15 @@ d_parse_file (void) if (global.params.v.templates) { - printTemplateStats (global.params.v.templatesListInstances, - global.errorSink); + dmd::printTemplateStats (global.params.v.templatesListInstances, + global.errorSink); } /* Generate JSON files. */ if (global.params.json.doOutput) { OutBuffer buf; - json_generate (modules, buf); + dmd::json_generate (modules, buf); d_write_file (global.params.json.name.ptr, buf.peekChars ()); } @@ -1372,14 +1372,14 @@ d_parse_file (void) OutBuffer buf; buf.doindent = 1; - moduleToBuffer (buf, true, m); + dmd::moduleToBuffer (buf, true, m); message ("%s", buf.peekChars ()); } } /* Generate C++ header files. */ if (global.params.cxxhdr.doOutput) - genCppHdrFiles (modules); + dmd::genCppHdrFiles (modules); if (global.errors) goto had_errors; |