diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-06-24 17:04:13 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-08-19 12:39:49 +0000 |
commit | 530b6121cf5db17eb2da34aa60e911c23e66918d (patch) | |
tree | 66c90ad21032c3e36addf1c9991236b6e990f0a7 /gcc/rust/ast/rust-ast.h | |
parent | fd916bed72b5280ec8114d71f28b4d43cefbf5fb (diff) | |
download | gcc-530b6121cf5db17eb2da34aa60e911c23e66918d.zip gcc-530b6121cf5db17eb2da34aa60e911c23e66918d.tar.gz gcc-530b6121cf5db17eb2da34aa60e911c23e66918d.tar.bz2 |
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.
Diffstat (limited to 'gcc/rust/ast/rust-ast.h')
-rw-r--r-- | gcc/rust/ast/rust-ast.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/rust/ast/rust-ast.h b/gcc/rust/ast/rust-ast.h index d9edec0..dc0fd8b 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 |