aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-asm.h
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2024-10-26 15:05:43 -0400
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-21 12:32:54 +0100
commit3fe905ebf21a67a63d70a336ef87ae06fd8d5e63 (patch)
tree7fc8b3450fee73802598d3ad0516abe6cc6ad920 /gcc/rust/backend/rust-compile-asm.h
parent47d2a3b1916205c4881437442aa7e80b4e5ea876 (diff)
downloadgcc-3fe905ebf21a67a63d70a336ef87ae06fd8d5e63.zip
gcc-3fe905ebf21a67a63d70a336ef87ae06fd8d5e63.tar.gz
gcc-3fe905ebf21a67a63d70a336ef87ae06fd8d5e63.tar.bz2
gccrs: Rename some PathIdentSegment functions
This makes PathIdentSegment more similar to other classes used to represent path segments. gcc/rust/ChangeLog: * ast/rust-path.h (PathIdentSegment::is_super_segment): Rename to... (PathIdentSegment::is_super_path_seg): ...here. (PathIdentSegment::is_crate_segment): Rename to... (PathIdentSegment::is_crate_path_seg): ...here. (PathIdentSegment::is_lower_self): Rename to... (PathIdentSegment::is_lower_self_seg): ...here. (PathIdentSegment::is_big_self): Rename to... (PathIdentSegment::is_big_self_seg): ...here. (PathExprSegment::is_super_path_seg): Handle renames. (PathExprSegment::is_crate_path_seg): Likewise. (PathExprSegment::is_lower_self_seg): Likewise. (TypePathSegment::is_crate_path_seg): Likewise. (TypePathSegment::is_super_path_seg): Likewise. (TypePathSegment::is_big_self_seg): Likewise. (TypePathSegment::is_lower_self_seg): Likewise. * ast/rust-ast-collector.cc (TokenCollector::visit): Likewise. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-asm.h')
0 files changed, 0 insertions, 0 deletions