]> git.ipfire.org Git - thirdparty/gcc.git/commit
Simplify construction of BIR::Statement
authorKushal Pal <kushalpal109@gmail.com>
Wed, 31 Jul 2024 01:37:54 +0000 (01:37 +0000)
committerCohenArthur <arthur.cohen@embecosm.com>
Fri, 2 Aug 2024 11:41:15 +0000 (11:41 +0000)
commit177660eabde15c572ee431671e239a6dbd2c93e9
tree8ca2fb5cd32f7622f14c06129b0c1f5c5277cf7c
parent65bf72fcfb9eca1ab3011c29510eb67faf3b02c3
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