aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-struct-field-expr.h
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2024-12-22 15:59:27 +0000
committerCohenArthur <arthur.cohen@embecosm.com>2025-02-04 15:09:51 +0000
commit0d4b15cb70f2ab20e9b8a533f592cbb6fc8efe87 (patch)
treec0dae69a30abd919e727db15b2517d33b42a83b8 /gcc/rust/backend/rust-compile-struct-field-expr.h
parent28a87acaff74a87953d80df542b3d6e2e26daf62 (diff)
downloadgcc-0d4b15cb70f2ab20e9b8a533f592cbb6fc8efe87.zip
gcc-0d4b15cb70f2ab20e9b8a533f592cbb6fc8efe87.tar.gz
gcc-0d4b15cb70f2ab20e9b8a533f592cbb6fc8efe87.tar.bz2
ast: Add DesugarForLoop class
gcc/rust/ChangeLog: * ast/rust-desugar-for-loops.cc: New file. * ast/rust-desugar-for-loops.h: New file. * hir/rust-ast-lower-expr.cc (ASTLoweringExpr::visit): Make lowering of for-loops an unreachable. * Make-lang.in: Compile it. gcc/testsuite/ChangeLog: * rust/compile/for-loop1.rs: New test. * rust/compile/for-loop2.rs: New test. * rust/execute/torture/for-loop1.rs: New test. * rust/execute/torture/for-loop2.rs: New test. * rust/compile/nr2/exclude: Exclude for-loop1.rs
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions