]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Use new constructors and control flow for operand
authorbadumbatish <tanghocle456@gmail.com>
Tue, 30 Jul 2024 02:00:47 +0000 (19:00 -0700)
committerArthur Cohen <arthur.cohen@embecosm.com>
Wed, 19 Mar 2025 14:32:01 +0000 (15:32 +0100)
commit03e7521c90abe2f592640a2ad9d3b26ef91ab5a5
tree0403e20149b634f6d9331122664a40a0c5cfe44a
parentd2c9afb7bc8278bdf946599f58da18c76d3d1d2f
gccrs: Use new constructors and control flow for operand

gcc/rust/ChangeLog:

* ast/rust-expr.h (struct InlineAsmOperand): changed to class
(class InlineAsmOperand): Have appropriate constructor,
and getter
* expand/rust-macro-builtins-asm.cc (parse_reg_operand):
Use the new implement constructors and new control flow.
(parse_reg_operand_in): Likewise
(parse_reg_operand_out): Likewise
(parse_reg_operand_inout): Likewise
(parse_reg_operand_const): Likewise
gcc/rust/ast/rust-expr.h
gcc/rust/expand/rust-macro-builtins-asm.cc