aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-01-26 11:35:24 +0530
committerCohenArthur <arthur.cohen@embecosm.com>2024-02-05 17:08:39 +0000
commitf1b650698219f0330ee0e59384b5b8c789debf37 (patch)
treef1d1c31fc0b2654948c7e70ef23689e6abb9de8d /libcpp
parent37a6e44c4c3fcc90b2a19ba75741d4827d525a81 (diff)
downloadgcc-f1b650698219f0330ee0e59384b5b8c789debf37.zip
gcc-f1b650698219f0330ee0e59384b5b8c789debf37.tar.gz
gcc-f1b650698219f0330ee0e59384b5b8c789debf37.tar.bz2
Add missing visitors for AST::Function.
To use AST::Function instead of AST::TraitItemFunc and AST::TraitItemMethod, we need to provide similar visitors during lowering and resolving phase. gcc/rust/ChangeLog: * hir/rust-ast-lower-implitem.cc (ASTLowerTraitItem::visit): Provide visitor for AST::Function. * hir/rust-ast-lower-implitem.h: Likewise. * resolve/rust-ast-resolve-implitem.h: Likewise. * resolve/rust-ast-resolve-item.cc (ResolveTraitItems::visit): Likewise. * resolve/rust-ast-resolve-item.h: Likewise. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions