]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: ast: Add PointerVisitor
authorArthur Cohen <arthur.cohen@embecosm.com>
Wed, 13 Aug 2025 12:32:41 +0000 (14:32 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Oct 2025 19:58:48 +0000 (20:58 +0100)
commit305eeacbeb7bed1a8d2396bc6a292d1d13f482d0
tree06ff701d82a7d0c1c148b04684f7cf0dca7b8a5e
parent94456e7ec78fae1b345c6968ea1164b5ee547fc5
gccrs: ast: Add PointerVisitor

gcc/rust/ChangeLog:

* Make-lang.in: Compile it.
* ast/rust-builtin-ast-nodes.h: Add missing methods for getting pointers.
* ast/rust-expr.h: Likewise.
* ast/rust-item.h: Likewise.
* ast/rust-path.h: Likewise.
* ast/rust-pattern.h: Likewise.
* ast/rust-type.h: Likewise.
* ast/rust-ast-pointer-visitor.cc: New file.
* ast/rust-ast-pointer-visitor.h: New file.
gcc/rust/Make-lang.in
gcc/rust/ast/rust-ast-pointer-visitor.cc [new file with mode: 0644]
gcc/rust/ast/rust-ast-pointer-visitor.h [new file with mode: 0644]
gcc/rust/ast/rust-builtin-ast-nodes.h
gcc/rust/ast/rust-expr.h
gcc/rust/ast/rust-item.h
gcc/rust/ast/rust-path.h
gcc/rust/ast/rust-pattern.h
gcc/rust/ast/rust-type.h