]> git.ipfire.org Git - thirdparty/gcc.git/commit
Turn to switch case, use new helper functions
authorbadumbatish <tanghocle456@gmail.com>
Tue, 30 Jul 2024 16:13:15 +0000 (09:13 -0700)
committerP-E-P <32375388+P-E-P@users.noreply.github.com>
Thu, 1 Aug 2024 09:11:08 +0000 (09:11 +0000)
commite941015a2a7c18ecfdf68ecf60495d65aeea1fe4
tree33d94315d087fce921bbdb19d54f33903ee5e3b5
parent78a1f763a9b96342772274216fa9379e6c6b3908
Turn to switch case, use new helper functions

gcc/rust/ChangeLog:

* hir/rust-ast-lower-expr.cc (translate_operand_in):
Turn to switch case, use new helper functions
(translate_operand_out): Likewise.
(translate_operand_inout): Likewise.
(translate_operand_split_in_out): Likewise.
(translate_operand_const): Likewise.
(translate_operand_sym): Likewise.
(translate_operand_label): Likewise.
(from_operand): Likewise.
(ASTLoweringExpr::visit): Likewise.
gcc/rust/hir/rust-ast-lower-expr.cc