diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2024-10-26 15:05:43 -0400 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-10-28 08:17:01 +0000 |
commit | 549fe6d3a01109f6189b1bda9fd4478051062810 (patch) | |
tree | bbc5de33adb158dc51195438f8a3d23a4effeca5 /gcc/cfgexpand.h | |
parent | 7a23231a7b939f88c764e73d71755871b514d286 (diff) | |
download | gcc-549fe6d3a01109f6189b1bda9fd4478051062810.zip gcc-549fe6d3a01109f6189b1bda9fd4478051062810.tar.gz gcc-549fe6d3a01109f6189b1bda9fd4478051062810.tar.bz2 |
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/cfgexpand.h')
0 files changed, 0 insertions, 0 deletions