]> git.ipfire.org Git - thirdparty/gcc.git/commit
ast-builder: Improve function generation.
authorArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Jan 2025 13:56:37 +0000 (14:56 +0100)
committerCohenArthur <arthur.cohen@embecosm.com>
Thu, 20 Feb 2025 09:37:09 +0000 (09:37 +0000)
commitf85babd713a141b850eed3b595725ef8d63f3aeb
tree585c3f72773f9a626827b5d488b968ae7e6cc82e
parente3cebdda0d57e28098dbcc11b45aef85f9c152ae
ast-builder: Improve function generation.

gcc/rust/ChangeLog:

* ast/rust-ast-builder.cc (Builder::block): Change return type.
(Builder::loop): Use new APIs.
* ast/rust-ast-builder.h: Change return type of block functions.
gcc/rust/ast/rust-ast-builder.cc
gcc/rust/ast/rust-ast-builder.h