Skip to content

Commit 45bab93

Browse files
committed
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.
1 parent a81235c commit 45bab93

File tree

9 files changed

+1983
-6
lines changed

9 files changed

+1983
-6
lines changed

gcc/rust/Make-lang.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ GRS_OBJS = \
8484
rust/rust-ast-dump.o \
8585
rust/rust-ast-collector.o \
8686
rust/rust-ast-visitor.o \
87+
rust/rust-ast-pointer-visitor.o \
8788
rust/rust-hir-visitor.o \
8889
rust/rust-hir-dump.o \
8990
rust/rust-session-manager.o \

0 commit comments

Comments
 (0)