]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Add default resolver parent functions by default
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Thu, 5 Sep 2024 13:39:59 +0000 (15:39 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Wed, 19 Mar 2025 14:32:14 +0000 (15:32 +0100)
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>
gcc/rust/resolve/rust-finalize-imports-2.0.h

index 2b3157e9b421833c15ee998afcb924ff536074fe..0fba5a517a190369c27a80d5ba620dee2d17294a 100644 (file)
@@ -97,6 +97,8 @@ public:
   void go (AST::Crate &crate);
 
 private:
+  using AST::DefaultASTVisitor::visit;
+
   void visit (AST::UseDeclaration &) override;
 
   Early::ImportMappings data;