]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: FullVisitable abstract class
authorMarc Poulhiès <dkm@kataplop.net>
Thu, 29 Jun 2023 18:45:25 +0000 (20:45 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:49:30 +0000 (18:49 +0100)
commit0cecd8278901c32b0326f32105f63ed481bae0c9
tree2e005f051e82b499579f6ee62c6d8aebd2d08300
parent16510f1c74d30c2ce4d3134db52199484c3c79e2
gccrs: FullVisitable abstract class

Introduce FullVisitable class. HIR nodes implementing the FullVisitor
interface should inherit from this class.

gcc/rust/ChangeLog:

* hir/tree/rust-hir.h (class FullVisitable): New.
(class Stmt): Adjust with new class.
(class Expr): Likewise.
(class Pattern): Likewise.
(class Type): Likewise.
(class TypeParamBound): Likewise.
(class GenericParam): Likewise.
(class TraitItem): Likewise.
(class ImplItem): Likewise.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gcc/rust/hir/tree/rust-hir.h