diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-04-04 17:07:54 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-19 15:32:12 +0100 |
commit | 333a4cbff7ef62208647c234af12caa35271b59c (patch) | |
tree | df096abd47cc2b4612162f15ecd16e8eec2fa925 /gcc/rust/resolve/rust-ast-resolve-path.h | |
parent | 2f743673232dc87b85e802ea5256a36bb1988172 (diff) | |
download | gcc-333a4cbff7ef62208647c234af12caa35271b59c.zip gcc-333a4cbff7ef62208647c234af12caa35271b59c.tar.gz gcc-333a4cbff7ef62208647c234af12caa35271b59c.tar.bz2 |
gccrs: 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/rust/resolve/rust-ast-resolve-path.h')
0 files changed, 0 insertions, 0 deletions