[gcc r15-8818] gccrs: Remove PathInExpression::get_pattern_node_id
Arthur Cohen
cohenarthur@gcc.gnu.org
Mon Mar 24 12:38:49 GMT 2025
https://gcc.gnu.org/g:9724c8af49e642324b366c4cf62fca08304b2d96
commit r15-8818-g9724c8af49e642324b366c4cf62fca08304b2d96
Author: Owen Avery <powerboat9.gamer@gmail.com>
Date: Fri Feb 21 22:50:51 2025 -0500
gccrs: Remove PathInExpression::get_pattern_node_id
gcc/rust/ChangeLog:
* ast/rust-path.h
(PathInExpression::get_pattern_node_id): Remove.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diff:
---
gcc/rust/ast/rust-path.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/gcc/rust/ast/rust-path.h b/gcc/rust/ast/rust-path.h
index c2537034b61b..805be8e91f76 100644
--- a/gcc/rust/ast/rust-path.h
+++ b/gcc/rust/ast/rust-path.h
@@ -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
{
More information about the Gcc-cvs
mailing list