]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Simplify construction of BIR::Statement
authorKushal Pal <kushalpal109@gmail.com>
Wed, 31 Jul 2024 01:37:54 +0000 (01:37 +0000)
committerArthur Cohen <arthur.cohen@embecosm.com>
Wed, 19 Mar 2025 14:32:03 +0000 (15:32 +0100)
commit86970cc56e6d3521a815ce7e3bf14071ce61ff98
treeea80d563f44156129de42c21ad50680991902d6d
parent6777f6cf2ad3b749be31346be6f7a9d79b7f082b
gccrs: Simplify construction of BIR::Statement

gcc/rust/ChangeLog:

* checks/errors/borrowck/rust-bir-builder-internal.h:
Use `make_*` functions to create BIR::Statements.
* checks/errors/borrowck/rust-bir.h: Make a complete constructor
and introduce `make_*` functions to create various
BIR::Statements.

Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
gcc/rust/checks/errors/borrowck/rust-bir-builder-internal.h
gcc/rust/checks/errors/borrowck/rust-bir.h