[gcc r15-8167] gccrs: Fix clobber_api brackets
Arthur Cohen
cohenarthur@gcc.gnu.org
Mon Mar 17 15:43:19 GMT 2025
https://gcc.gnu.org/g:1445be19b12a78ec85a80f3f04c79f65b8e79cca
commit r15-8167-g1445be19b12a78ec85a80f3f04c79f65b8e79cca
Author: jjasmine <tanghocle456@gmail.com>
Date: Mon May 20 23:04:01 2024 -0700
gccrs: Fix clobber_api brackets
gcc/rust/ChangeLog:
* expand/rust-macro-builtins-asm.cc (parse_clobber_abi): title.
Diff:
---
gcc/rust/expand/rust-macro-builtins-asm.cc | 16 ++++++++--------
1 file 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 d47d95c594fb..74b81d2aed25 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
More information about the Gcc-cvs
mailing list