aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util/rust-make-unique.h
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-07-25 11:57:35 +0000
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-08-16 12:31:02 +0000
commitddda47c4fe5a9f5ed7e16820f6f45079af5bfa3b (patch)
tree344ed6b79f0d04332e4ae68e26efb2b633e63ce5 /gcc/rust/util/rust-make-unique.h
parent44664e3875976d8770c830eb468ac6524a2a8aa8 (diff)
downloadgcc-ddda47c4fe5a9f5ed7e16820f6f45079af5bfa3b.zip
gcc-ddda47c4fe5a9f5ed7e16820f6f45079af5bfa3b.tar.gz
gcc-ddda47c4fe5a9f5ed7e16820f6f45079af5bfa3b.tar.bz2
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/rust/util/rust-make-unique.h')
0 files changed, 0 insertions, 0 deletions