From 21d5cef96adfb26ea67d03bdfaacbd1fe8742d6e Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Mon, 24 Jun 2024 17:04:13 +0200 Subject: gccrs: ast: Remove PathExpr abstract class Inherit directly from ExprWithoutBlock instead. gcc/rust/ChangeLog: * ast/rust-ast.h (class PathExpr): Remove class. * ast/rust-path.h (class PathInExpression): Inherit from ExprWithoutBlock. (class QualifiedPathInExpression): Likewise. --- gcc/rust/ast/rust-ast.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gcc/rust/ast/rust-ast.h') diff --git a/gcc/rust/ast/rust-ast.h b/gcc/rust/ast/rust-ast.h index 4f40eff..f5a2e77 100644 --- a/gcc/rust/ast/rust-ast.h +++ b/gcc/rust/ast/rust-ast.h @@ -2048,11 +2048,6 @@ public: } }; -// Base path expression AST node - abstract -class PathExpr : public ExprWithoutBlock -{ -}; - } // namespace AST } // namespace Rust -- cgit v1.1