aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjjasmine <tanghocle456@gmail.com>2024-05-20 23:04:01 -0700
committerCohenArthur <arthur.cohen@embecosm.com>2024-06-13 15:31:07 +0000
commitb923da77f09ee7adcaff28eb7cc1b6d88e260cc2 (patch)
tree1d4e620ce2e5d1d315202a819f1a89caf29b97ca
parentedd623c58ee47d0f7c42669b860bd98f22b59eef (diff)
downloadgcc-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.cc16
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