diff options
author | jjasmine <tanghocle456@gmail.com> | 2024-05-20 23:04:01 -0700 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-06-13 15:31:07 +0000 |
commit | b923da77f09ee7adcaff28eb7cc1b6d88e260cc2 (patch) | |
tree | 1d4e620ce2e5d1d315202a819f1a89caf29b97ca | |
parent | edd623c58ee47d0f7c42669b860bd98f22b59eef (diff) | |
download | gcc-b923da77f09ee7adcaff28eb7cc1b6d88e260cc2.zip gcc-b923da77f09ee7adcaff28eb7cc1b6d88e260cc2.tar.gz gcc-b923da77f09ee7adcaff28eb7cc1b6d88e260cc2.tar.bz2 |
Fix clobber_api brackets
gcc/rust/ChangeLog:
* expand/rust-macro-builtins-asm.cc (parse_clobber_abi): title.
-rw-r--r-- | gcc/rust/expand/rust-macro-builtins-asm.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/rust/expand/rust-macro-builtins-asm.cc b/gcc/rust/expand/rust-macro-builtins-asm.cc index 310131c..cfe5906 100644 --- a/gcc/rust/expand/rust-macro-builtins-asm.cc +++ b/gcc/rust/expand/rust-macro-builtins-asm.cc @@ -79,17 +79,17 @@ parse_clobber_abi (Parser<MacroInvocLexer> &parser, TokenId last_token_id, // illegal, pleaes emit the correct error. return -1; } + } - // Done processing the local clobber abis, push that to the main Args in - // argument - - for (auto abi : new_abis) - { - args.clobber_abis.push_back (abi); - } + // Done processing the local clobber abis, push that to the main Args in + // argument - return 0; + for (auto abi : new_abis) + { + args.clobber_abis.push_back (abi); } + + return 0; } int |