gccrs: ast: visitor pattern -> overload syntax compatibility layer
authorJakub Dupak <dev@jakubdupak.com>
Thu, 27 Oct 2022 20:27:55 +0000 (22:27 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 21 Feb 2023 11:36:43 +0000 (12:36 +0100)
commitaedd97a537cbf12ad775504a71e5901ea2dacdad
tree41ae6690f4ae5de97bec12e0d92f2d5b1960466d
parent5b5a0ca771797e99de80876b5504e1792bbca7ce
gccrs: ast: visitor pattern -> overload syntax compatibility layer

gcc/rust/ChangeLog:

* ast/rust-ast-dump.cc (Dump::visit): Add new visit function for overloading.
* ast/rust-ast-dump.h: Add documentation for layer.

Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
gcc/rust/ast/rust-ast-dump.cc
gcc/rust/ast/rust-ast-dump.h