aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-builtins.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-11-27 14:12:20 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-30 12:36:49 +0100
commit65fb288e0dacee46ba0d981e00e151064e2d4162 (patch)
tree3e813eab058d341ea5643da92038a23c69a6aab6 /gcc/rust/backend/rust-builtins.h
parentb3b5115533c44f6f9206a702586ac9b3fe6750cb (diff)
downloadgcc-65fb288e0dacee46ba0d981e00e151064e2d4162.zip
gcc-65fb288e0dacee46ba0d981e00e151064e2d4162.tar.gz
gcc-65fb288e0dacee46ba0d981e00e151064e2d4162.tar.bz2
gccrs: Make expand visitor inherit from default visitor
Many visit functions in the expand visitor simply visit their components like the default visitor. Making the expand visitor inherit from the default visitor allows us to keep all visitor in sync without having to change every visitor. gcc/rust/ChangeLog: * expand/rust-expand-visitor.cc (ExpandVisitor::go): Add call to visit on the crate. (ExpandVisitor::visit): Remove some visit functions in favor of their default visitor counterpart. * expand/rust-expand-visitor.h (class ExpandVisitor): Inherit from default visitor and remove now useless function prototypes. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-builtins.h')
0 files changed, 0 insertions, 0 deletions