aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.cc
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-07-09 10:37:27 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:02 +0100
commit37941c99df7cd15022ec27260cb7bc5de34dee98 (patch)
treedc9ebffc448b8042de5f41b4bc77acb0a56f78b3 /gcc/tree-loop-distribution.cc
parentb40b7afc3c030cbcfab5a4caacf86f08f7c38e46 (diff)
downloadgcc-37941c99df7cd15022ec27260cb7bc5de34dee98.zip
gcc-37941c99df7cd15022ec27260cb7bc5de34dee98.tar.gz
gcc-37941c99df7cd15022ec27260cb7bc5de34dee98.tar.bz2
gccrs: Add location to BIR::Loan
This commit adds location_t to BIR::Loan, this location will point to location is source code where the borrow occured, this information will be useful for reporting borrow-checking errors. gcc/rust/ChangeLog: * checks/errors/borrowck/rust-bir-builder-internal.h: Fill location for loan. * checks/errors/borrowck/rust-bir-place.h (struct Loan): Add location field. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/tree-loop-distribution.cc')
0 files changed, 0 insertions, 0 deletions