aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand/rust-macro-builtins-asm.cc
diff options
context:
space:
mode:
authorjjasmine <tanghocle456@gmail.com>2024-05-20 23:04:01 -0700
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:36 +0100
commit1445be19b12a78ec85a80f3f04c79f65b8e79cca (patch)
treea68f3c2e5ab8d5e783b4db85535ead9833605228 /gcc/rust/expand/rust-macro-builtins-asm.cc
parentfe6dd9ac6ae802a83cea030a2ed1f3e2aca4e64d (diff)
downloadgcc-1445be19b12a78ec85a80f3f04c79f65b8e79cca.zip
gcc-1445be19b12a78ec85a80f3f04c79f65b8e79cca.tar.gz
gcc-1445be19b12a78ec85a80f3f04c79f65b8e79cca.tar.bz2
gccrs: Fix clobber_api brackets
gcc/rust/ChangeLog: * expand/rust-macro-builtins-asm.cc (parse_clobber_abi): title.
Diffstat (limited to 'gcc/rust/expand/rust-macro-builtins-asm.cc')
-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 d47d95c..74b81d2 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