diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-04-04 16:25:30 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-09-26 22:48:32 +0000 |
commit | 8f835f8cec98eed8ecfb886b95c2ff1646df9992 (patch) | |
tree | 6b27b78187bd458ce8a2395061f06370d48d1ea4 /gcc/input.h | |
parent | 0377c9ae21999938b2794b4de5a54dc1bc4cbd21 (diff) | |
download | gcc-8f835f8cec98eed8ecfb886b95c2ff1646df9992.zip gcc-8f835f8cec98eed8ecfb886b95c2ff1646df9992.tar.gz gcc-8f835f8cec98eed8ecfb886b95c2ff1646df9992.tar.bz2 |
early: Resolve imports and create import mappings
gcc/rust/ChangeLog:
* resolve/rust-early-name-resolver-2.0.cc (Early::resolve_glob_import): New function.
(Early::resolve_simple_import): Likewise.
(Early::resolve_rebind_import): Likewise.
(Early::build_import_mapping): Likewise.
* resolve/rust-early-name-resolver-2.0.h: Add declarations and list of imports to
resolve.
* resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::handle_use_glob): Remove function,
which is now being handled by the Early name resolver.
(TopLevel::handle_use_dec): Likewise.
(TopLevel::handle_rebind): Likewise.
* resolve/rust-toplevel-name-resolver-2.0.h: Likewise, and add functions for creating
import list and fetching it.
Diffstat (limited to 'gcc/input.h')
0 files changed, 0 insertions, 0 deletions