aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.cc
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-07-19 07:30:03 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:02 +0100
commit715b62375c2f2a16a21221246b85c2298906f5f3 (patch)
tree8e2dfb56b6811272dc478aa2882e4d243cc30d6e /gcc/tree-loop-distribution.cc
parentcbb99fedcfcb094371e8db71d741e9dcaa4c47fd (diff)
downloadgcc-715b62375c2f2a16a21221246b85c2298906f5f3.zip
gcc-715b62375c2f2a16a21221246b85c2298906f5f3.tar.gz
gcc-715b62375c2f2a16a21221246b85c2298906f5f3.tar.bz2
gccrs: Add location to BIR::Statement of kind RETURN
This commit adds location_t to BIR::Statement where type is RETURN. gcc/rust/ChangeLog: * checks/errors/borrowck/rust-bir-builder-expr-stmt.cc (ExprStmtBuilder::visit): Add location parameter. * checks/errors/borrowck/rust-bir-builder.h: Likewise. * checks/errors/borrowck/rust-bir-builder-internal.h: Add helper function for pushing return statements. * checks/errors/borrowck/rust-bir.h: Remove `expr` parameter as it is only needed for ASSIGNMENT statements, for which we already have a constructor. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/tree-loop-distribution.cc')
0 files changed, 0 insertions, 0 deletions