diff options
| author | Jason Merrill <jason@redhat.com> | 2025-11-05 17:59:17 +0530 |
|---|---|---|
| committer | Jason Merrill <jason@redhat.com> | 2025-11-15 11:45:21 +0530 |
| commit | aaa625a51cff750b40bc98f6555adc3f3f5f297b (patch) | |
| tree | 899509bc5a1947af79ba8105b4a1e9a04aa81cd8 /libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java | |
| parent | 4b84e561856599f82ce8f12a876ade388d5db330 (diff) | |
c++/modules: if translation fails fall back to #include
If a user wrote #include and the .gcm we found won't work, instead of
failing the compile let's do the #include that the source code called for.
This case also prints a note about the failure, like those from
-flang-info-include-translate{,-not} but unconditional.
gcc/cp/ChangeLog:
* module.cc (module_state::read_config): Add complain parm.
(module_state::open_slurp): Split out...
(module_state::do_import): ...from here.
(module_state::read_initial): Move begin call to open_slurp.
(module_state::check_importable): New.
(maybe_translate_include): Call it.
Diffstat (limited to 'libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java')
0 files changed, 0 insertions, 0 deletions
