aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorMarc Poulhiès <dkm@kataplop.net>2021-08-11 23:15:25 +0200
committerMarc <dkm@kataplop.net>2021-08-12 11:17:58 +0200
commitda72de4d8929608b064b486312ca8dd80cce47a4 (patch)
treedecb6e01d0db2bb940bfc11fcf61e6de0fdf5eb8 /gcc/rust/parse/rust-parse-impl.h
parenta0ba86c3bef853ff8a0c282c10c3e0cb1811a507 (diff)
downloadgcc-da72de4d8929608b064b486312ca8dd80cce47a4.zip
gcc-da72de4d8929608b064b486312ca8dd80cce47a4.tar.gz
gcc-da72de4d8929608b064b486312ca8dd80cce47a4.tar.bz2
Change name resolver's iterate_* functions to allow early exit
The callback now returns a bool for continuing the iteration (true) or stopping it (false). Fixed the scanning for unused names without changing its behavior (always doing full iteration).
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions