diff options
author | Kushal Pal <kushalpal109@gmail.com> | 2024-08-19 09:28:25 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-19 15:32:09 +0100 |
commit | d91f1148d85ae0801387975364a5338237ac6efc (patch) | |
tree | ac108b213aed118d1124fc1a3a3fab0c6ba8b9c5 /gcc/rust/resolve/rust-ast-resolve-path.h | |
parent | 11b808ba788834072539a4aca6d64144243e5d46 (diff) | |
download | gcc-d91f1148d85ae0801387975364a5338237ac6efc.zip gcc-d91f1148d85ae0801387975364a5338237ac6efc.tar.gz gcc-d91f1148d85ae0801387975364a5338237ac6efc.tar.bz2 |
gccrs: Introduce `IndexVec`
gcc/rust/ChangeLog:
* checks/errors/borrowck/rust-bir-place.h (struct Loan):
Introduce new class `IndexVec` inspired from IndexVec of rust.
It acts as a wrapper around `std::vector` and lets user specify
a strong type to use as index.
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