diff options
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
-rw-r--r-- | gcc/rust/ast/rust-expr.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h index 3463f5a..7f6714a 100644 --- a/gcc/rust/ast/rust-expr.h +++ b/gcc/rust/ast/rust-expr.h @@ -996,15 +996,6 @@ public: size_t get_num_values () const { return values.size (); } - void iterate (std::function<bool (Expr *)> cb) - { - for (auto it = values.begin (); it != values.end (); it++) - { - if (!cb ((*it).get ())) - return; - } - } - protected: ArrayElemsValues *clone_array_elems_impl () const override { |