diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-04-04 17:07:54 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-09-26 22:48:32 +0000 |
commit | a4b593400d6eab72433c7a61cbf7456dff00526a (patch) | |
tree | d225dd75cab6698de88f22209c23c427f89c9442 /gcc/input.h | |
parent | 8f835f8cec98eed8ecfb886b95c2ff1646df9992 (diff) | |
download | gcc-a4b593400d6eab72433c7a61cbf7456dff00526a.zip gcc-a4b593400d6eab72433c7a61cbf7456dff00526a.tar.gz gcc-a4b593400d6eab72433c7a61cbf7456dff00526a.tar.bz2 |
imports: Add FinalizeImports class
gcc/rust/ChangeLog:
* Make-lang.in: Add new object file.
* ast/rust-item.h: Constify method.
* resolve/rust-early-name-resolver-2.0.cc (Early::go): Call into
the imports finalizer.
(Early::resolve_glob_import): Remove old resolution.
(Early::resolve_rebind_import): Likewise.
* resolve/rust-toplevel-name-resolver-2.0.cc (GlobbingVisitor::go):
New function.
(GlobbingVisitor::visit): Likewise.
(TopLevel::visit): Do not call into handle_use_* functions anymore.
* resolve/rust-toplevel-name-resolver-2.0.h (class GlobbingVisitor):
New.
* resolve/rust-finalize-imports-2.0.cc: New file.
* resolve/rust-finalize-imports-2.0.h: New file.
Diffstat (limited to 'gcc/input.h')
0 files changed, 0 insertions, 0 deletions