[COMMITTED 078/145] gccrs: Fix clobber_api brackets

arthur.cohen@embecosm.com arthur.cohen@embecosm.com
Mon Mar 17 15:32:36 GMT 2025


From: jjasmine <tanghocle456@gmail.com>

gcc/rust/ChangeLog:

	* expand/rust-macro-builtins-asm.cc (parse_clobber_abi): title.
---
 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 d47d95c594f..74b81d2aed2 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
-- 
2.45.2



More information about the Gcc-rust mailing list