diff options
author | Kushal Pal <kushalpal109@gmail.com> | 2024-07-25 11:57:35 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-19 15:32:03 +0100 |
commit | 6f009aedaff88e359aee82628bccf683315222c6 (patch) | |
tree | f77bd3299b9b24ed3a83e525fae33288eb754408 /gcc/tree-vectorizer.cc | |
parent | 1ed44d6cb29fda8d1ffc4bdee27d6dc0db4088fa (diff) | |
download | gcc-6f009aedaff88e359aee82628bccf683315222c6.zip gcc-6f009aedaff88e359aee82628bccf683315222c6.tar.gz gcc-6f009aedaff88e359aee82628bccf683315222c6.tar.bz2 |
gccrs: Map locations to placeholder regions
Mapped placeholder regions to their respective HIR nodes so we can fetch
locations during error reporting.
gcc/rust/ChangeLog:
* checks/errors/borrowck/rust-bir-builder.h: Map regions to
their respective HIR nodes.
* checks/errors/borrowck/rust-bir.h (struct Function):
Add unordered_map to maintain the mapping.
Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/tree-vectorizer.cc')
0 files changed, 0 insertions, 0 deletions