From: Pierre-Emmanuel Patry Date: Wed, 18 Feb 2026 13:55:55 +0000 (+0100) Subject: gccrs: Make Attribute parent class Visitable public X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dddaafd36228e2ee60e5702b88232c08153a30f2;p=thirdparty%2Fgcc.git gccrs: Make Attribute parent class Visitable public These changes allows interfacing with attributes as a Visitable node. gcc/rust/ChangeLog: * ast/rust-ast.h (class Attribute): Make visitable parent class public. Signed-off-by: Pierre-Emmanuel Patry --- diff --git a/gcc/rust/ast/rust-ast.h b/gcc/rust/ast/rust-ast.h index 2185f4b031f..47587a162d4 100644 --- a/gcc/rust/ast/rust-ast.h +++ b/gcc/rust/ast/rust-ast.h @@ -566,7 +566,7 @@ protected: // aka Attr // Attribute AST representation -class Attribute : Visitable +class Attribute : public Visitable { SimplePath path;