aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-base.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-09-01 10:37:18 +0000
committerGitHub <noreply@github.com>2021-09-01 10:37:18 +0000
commitc33c6f3676dfca1a6bd7984cebf5028c015ea182 (patch)
tree0c830b9a468c78f3b0e4a140093cd09ebdda2989 /gcc/rust/resolve/rust-ast-resolve-base.h
parent82e1061579796adaa39ab34da77b6c8c6ea82539 (diff)
parent3b5c0f65ef12bd4771f69195d232588cff86b270 (diff)
downloadgcc-c33c6f3676dfca1a6bd7984cebf5028c015ea182.zip
gcc-c33c6f3676dfca1a6bd7984cebf5028c015ea182.tar.gz
gcc-c33c6f3676dfca1a6bd7984cebf5028c015ea182.tar.bz2
Merge #654
654: Cleanup some StructExpr related classes r=philberty a=dkm From Mark Wielaard: https://gcc.gnu.org/pipermail/gcc-rust/2021-September/000163.html > There are various Structure Expressions that don't actually "exist" > because they are syntactically equivalent to other constructs. So we > never really construct or use these classes. But they are still listed > in various visitors, which is somewhat confusing. Removing the AST and > HIR variants of these classes really cleans up the code IMHO. Co-authored-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-base.h')
-rw-r--r--gcc/rust/resolve/rust-ast-resolve-base.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/rust/resolve/rust-ast-resolve-base.h b/gcc/rust/resolve/rust-ast-resolve-base.h
index 10e2b1b..025052d 100644
--- a/gcc/rust/resolve/rust-ast-resolve-base.h
+++ b/gcc/rust/resolve/rust-ast-resolve-base.h
@@ -73,14 +73,6 @@ public:
void visit (AST::StructExprFieldIndexValue &) {}
void visit (AST::StructExprStructFields &) {}
void visit (AST::StructExprStructBase &) {}
- void visit (AST::StructExprTuple &) {}
- void visit (AST::StructExprUnit &) {}
- void visit (AST::EnumExprFieldIdentifier &) {}
- void visit (AST::EnumExprFieldIdentifierValue &) {}
- void visit (AST::EnumExprFieldIndexValue &) {}
- void visit (AST::EnumExprStruct &) {}
- void visit (AST::EnumExprTuple &) {}
- void visit (AST::EnumExprFieldless &) {}
void visit (AST::CallExpr &) {}
void visit (AST::MethodCallExpr &) {}
void visit (AST::FieldAccessExpr &) {}