aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-finalize-imports-2.0.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-09-05 15:39:59 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:14 +0100
commit0da43a254cfbf7c7476c2e2a539b816d3bd5c89a (patch)
treee17ffc78c482b35adf6d52cbc32187c255682564 /gcc/rust/resolve/rust-finalize-imports-2.0.h
parent75a2b87938569850027e038a6af3c0f492be2cbf (diff)
downloadgcc-0da43a254cfbf7c7476c2e2a539b816d3bd5c89a.zip
gcc-0da43a254cfbf7c7476c2e2a539b816d3bd5c89a.tar.gz
gcc-0da43a254cfbf7c7476c2e2a539b816d3bd5c89a.tar.bz2
gccrs: Add default resolver parent functions by default
gcc/rust/ChangeLog: * resolve/rust-finalize-imports-2.0.h: Add parent member functions from default resolver. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve/rust-finalize-imports-2.0.h')
-rw-r--r--gcc/rust/resolve/rust-finalize-imports-2.0.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/resolve/rust-finalize-imports-2.0.h b/gcc/rust/resolve/rust-finalize-imports-2.0.h
index 2b3157e..0fba5a5 100644
--- a/gcc/rust/resolve/rust-finalize-imports-2.0.h
+++ b/gcc/rust/resolve/rust-finalize-imports-2.0.h
@@ -97,6 +97,8 @@ public:
void go (AST::Crate &crate);
private:
+ using AST::DefaultASTVisitor::visit;
+
void visit (AST::UseDeclaration &) override;
Early::ImportMappings data;