]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: First draft of parse_option finished
authorjjasmine <tanghocle456@gmail.com>
Tue, 21 May 2024 07:31:57 +0000 (00:31 -0700)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 17 Mar 2025 15:35:37 +0000 (16:35 +0100)
commit7fb49cb14a3b48c789beaa2225755eea073b6bf6
tree29ed1b88cf4011ac1125c52f2e8c2b604b72648a
parent1445be19b12a78ec85a80f3f04c79f65b8e79cca
gccrs: First draft of parse_option finished

Finish up on parse_option, formatted parse_clobber_abi
gcc/rust/ChangeLog:

* expand/rust-macro-builtins-asm.cc (parse_clobber_abi): format
(check_and_set): helper function, is try_set_option equivalent
(parse_options): new function
* expand/rust-macro-builtins-asm.h (enum InlineAsmOptions):
removed
(check_and_set): decl of helper function
gcc/rust/expand/rust-macro-builtins-asm.cc
gcc/rust/expand/rust-macro-builtins-asm.h