diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-04-06 23:02:51 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-09-26 22:48:32 +0000 |
commit | bd669c43f256ebc5e5d565ec66504c955a34d8e1 (patch) | |
tree | 3caeefe4429914931e215b874d9ed4785e1ba457 /gcc/input.h | |
parent | 6a47e726ea5d86a6028709ca723c0725f774b4de (diff) | |
download | gcc-bd669c43f256ebc5e5d565ec66504c955a34d8e1.zip gcc-bd669c43f256ebc5e5d565ec66504c955a34d8e1.tar.gz gcc-bd669c43f256ebc5e5d565ec66504c955a34d8e1.tar.bz2 |
imports: Make FinalizeImports a resolver visitor as well
gcc/rust/ChangeLog:
* resolve/rust-finalize-imports-2.0.cc (FinalizeImports::go): Turn
static method into method.
(FinalizeImports::visit): New.
* resolve/rust-finalize-imports-2.0.h (class FinalizeImports): Make
FinalizeImports a visitor.
* resolve/rust-early-name-resolver-2.0.cc (Early::go): Use new FinalizeImports API.
(Early::resolve_glob_import): Use new API.
(Early::resolve_simple_import): Likewise.
(Early::resolve_rebind_import): Likewise.
(Early::build_import_mapping): Likewise.
* resolve/rust-early-name-resolver-2.0.h: Likewise.
* resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::visit): Likewise.
* resolve/rust-toplevel-name-resolver-2.0.h: Likewise.
Diffstat (limited to 'gcc/input.h')
0 files changed, 0 insertions, 0 deletions