diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-06-24 16:50:43 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-08-19 12:39:49 +0000 |
commit | fd916bed72b5280ec8114d71f28b4d43cefbf5fb (patch) | |
tree | b05157817a1701ff31f1784e8770796639ee6a86 /gcc/rust/util/rust-attributes.cc | |
parent | 0f2062b77a73d95636083f9e16356b70b6723be0 (diff) | |
download | gcc-fd916bed72b5280ec8114d71f28b4d43cefbf5fb.zip gcc-fd916bed72b5280ec8114d71f28b4d43cefbf5fb.tar.gz gcc-fd916bed72b5280ec8114d71f28b4d43cefbf5fb.tar.bz2 |
ast: PathPattern: Remove `remove_all_segments` method
This method was used only for stripping PathPattern AST nodes during
`cfg-strip`, which seems like a misnomer and makes it a good candidate
for simplification.
gcc/rust/ChangeLog:
* ast/rust-path.h (class PathInExpression): Remove `remove_all_segments`
method, add a `marked_for_strip` flag instead.
Diffstat (limited to 'gcc/rust/util/rust-attributes.cc')
0 files changed, 0 insertions, 0 deletions