aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.cc
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-06-27 01:18:54 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:02 +0100
commitb40b7afc3c030cbcfab5a4caacf86f08f7c38e46 (patch)
treeb1e2a5f121e14d869274fcf13ec67b6e83e59803 /gcc/tree-loop-distribution.cc
parentb2032da1143eb63b7cd1548c3e270e0003780517 (diff)
downloadgcc-b40b7afc3c030cbcfab5a4caacf86f08f7c38e46.zip
gcc-b40b7afc3c030cbcfab5a4caacf86f08f7c38e46.tar.gz
gcc-b40b7afc3c030cbcfab5a4caacf86f08f7c38e46.tar.bz2
gccrs: Add location support to BIR::Statement
This commit adds location_t to BIR::Statement where type is ASSIGNMENT this information will be later used for reporting borrow-checking errors. gcc/rust/ChangeLog: * checks/errors/borrowck/rust-bir-builder-expr-stmt.cc (ExprStmtBuilder::visit): Added location parameter. * checks/errors/borrowck/rust-bir-builder-internal.h: Likewise. * checks/errors/borrowck/rust-bir-builder-lazyboolexpr.h: Likewise. * checks/errors/borrowck/rust-bir-builder-pattern.h: Likewise. * checks/errors/borrowck/rust-bir-builder.h: Likewise. * checks/errors/borrowck/rust-bir.h: Likewise. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/tree-loop-distribution.cc')
0 files changed, 0 insertions, 0 deletions