]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Specialize ExpandVisitor::expand_macro_children
authorOwen Avery <powerboat9.gamer@gmail.com>
Sat, 19 Jul 2025 01:44:09 +0000 (21:44 -0400)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 5 Aug 2025 14:36:57 +0000 (16:36 +0200)
commitd957db9385c6ead39e61eb4d1dadc8595481ad65
tree8d68e9a95173bc9ab2e71daa77fd47c3163cdf41
parent97f6ec0b880b7eb92d8992e016b1120bc865166e
gccrs: Specialize ExpandVisitor::expand_macro_children

gcc/rust/ChangeLog:

* expand/rust-expand-visitor.cc
(ExpandVisitor::expand_inner_items): Adjust call to
expand_macro_children.
(ExpandVisitor::expand_inner_stmts): Likewise.
(ExpandVisitor::visit): Likewise.
* expand/rust-expand-visitor.h
(ExpandVisitor::expand_macro_children): Take a pointer to member
function instead of a std::function.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/expand/rust-expand-visitor.cc
gcc/rust/expand/rust-expand-visitor.h