aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-11-27 17:00:56 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-30 12:36:49 +0100
commitb3b5115533c44f6f9206a702586ac9b3fe6750cb (patch)
treeda9ddaa25e47d9ffd374ec25b43ce5a547a6a844 /gcc/rust/backend
parentbdbc24c36cad3dc26324c4d5ea38f8bd0f02c9a8 (diff)
downloadgcc-b3b5115533c44f6f9206a702586ac9b3fe6750cb.zip
gcc-b3b5115533c44f6f9206a702586ac9b3fe6750cb.tar.gz
gcc-b3b5115533c44f6f9206a702586ac9b3fe6750cb.tar.bz2
gccrs: Make default resolver inherit from default visitor
The default resolver put some scope in place but mostly has traversal functions similar to the default ast visitor, making it inherit from the default visitor allows us to avoid code duplication. gcc/rust/ChangeLog: * resolve/rust-default-resolver.cc (DefaultResolver::visit): Remove duplicated functions. * resolve/rust-default-resolver.h (class DefaultResolver): Make the default resolver inherit from the default visitor. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions