diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2025-04-12 11:13:50 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2025-04-12 22:02:26 +0200 |
commit | 9a7b6668f8f79be8fa73982b8b0bde33c1d8c61f (patch) | |
tree | 7129059dad97dbeed0feba4e2bc4d3ce05c27214 /gcc/testsuite/g++.dg/init/array12.C | |
parent | 8a03d014ec096b3e8c9941a6bf724d3daaeeb289 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
Adds the ability to include imported modules in the compilation, as if
they were given on the command line. When this option is enabled, all
imported modules are compiled except those that are part of libphobos.
PR d/109023
gcc/d/ChangeLog:
* d-compiler.cc: Include dmd/errors.h.
(Compiler::onImport): Implement.
* d-lang.cc (d_handle_option): Handle -finclude-imports.
(d_parse_file): Run semantic on included imports.
* gdc.texi: Document -finclude-imports.
* lang.opt: Add finclude-imports.
* lang.opt.urls: Regenerate.
gcc/testsuite/ChangeLog:
* gdc.dg/torture/imports/pr109023.d: New test.
* gdc.dg/torture/pr109023.d: New test.
Diffstat (limited to 'gcc/testsuite/g++.dg/init/array12.C')
0 files changed, 0 insertions, 0 deletions