diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-11-23 20:22:29 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-30 12:36:49 +0100 |
commit | 5ee51aa3e5a76f55889e47ca874e1010a3a878d7 (patch) | |
tree | 58ea8428fd0d6982dad636558eadfa743f3dcb7e /gcc/rust/backend/rust-builtins.h | |
parent | 65fb288e0dacee46ba0d981e00e151064e2d4162 (diff) | |
download | gcc-5ee51aa3e5a76f55889e47ca874e1010a3a878d7.zip gcc-5ee51aa3e5a76f55889e47ca874e1010a3a878d7.tar.gz gcc-5ee51aa3e5a76f55889e47ca874e1010a3a878d7.tar.bz2 |
gccrs: Change cfg stripper to use default visitor
Cfg visitor used it's own visit patterns, this made the code longer than
required.
gcc/rust/ChangeLog:
* expand/rust-cfg-strip.cc (CfgStrip::visit): Change calls from visitor
to default visitor.
(CfgStrip::go): Add call to visit crate.
* expand/rust-cfg-strip.h (class CfgStrip): Update prototypes and
remove empty ones.
* ast/rust-ast-visitor.cc: add WhereClause condition check.
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