]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Remove PathInExpression::get_pattern_node_id
authorOwen Avery <powerboat9.gamer@gmail.com>
Sat, 22 Feb 2025 03:50:51 +0000 (22:50 -0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 24 Mar 2025 12:07:09 +0000 (13:07 +0100)
gcc/rust/ChangeLog:

* ast/rust-path.h
(PathInExpression::get_pattern_node_id): Remove.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/ast/rust-path.h

index c2537034b61be90835fc7d4bf1091c571cc75129..805be8e91f761c93971194c3d0f422a3347f1881 100644 (file)
@@ -729,8 +729,6 @@ public:
     outer_attrs = std::move (new_attrs);
   }
 
-  NodeId get_pattern_node_id () const { return get_node_id (); }
-
   PathExprSegment &get_final_segment () { return get_segments ().back (); }
   const PathExprSegment &get_final_segment () const
   {