aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-path.h
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-08-28 06:16:11 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:09 +0100
commit152ecf846f65c760c73ea77e8612eeeb4531fde4 (patch)
tree7abb6b87cbc13fb30c66ee292b02c1f77340ea85 /gcc/rust/resolve/rust-ast-resolve-path.h
parent2f8367e5811c1251c6ac075bc8fe57523967e620 (diff)
downloadgcc-152ecf846f65c760c73ea77e8612eeeb4531fde4.zip
gcc-152ecf846f65c760c73ea77e8612eeeb4531fde4.tar.gz
gcc-152ecf846f65c760c73ea77e8612eeeb4531fde4.tar.bz2
gccrs: Use `IndexVec` for bb_fold_map
gcc/rust/ChangeLog: * checks/errors/borrowck/rust-bir-dump.cc (simplify_cfg): Used `IndexVec` for bb_fold_map. (Dump::go): Use strong type as index instead of value as now we are using `IndexVec`. (Dump::visit): Likewise. * checks/errors/borrowck/rust-bir-dump.h (class Dump): Use `IndexVec` for bb_fold_map. * checks/errors/borrowck/rust-bir-place.h: Add constructor for `IndexVec` that can reserve size. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-path.h')
0 files changed, 0 insertions, 0 deletions