aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast.h
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2024-06-24 16:50:43 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2024-08-19 12:39:49 +0000
commitfd916bed72b5280ec8114d71f28b4d43cefbf5fb (patch)
treeb05157817a1701ff31f1784e8770796639ee6a86 /gcc/rust/ast/rust-ast.h
parent0f2062b77a73d95636083f9e16356b70b6723be0 (diff)
downloadgcc-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/ast/rust-ast.h')
0 files changed, 0 insertions, 0 deletions