]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Fix clobber_api brackets
authorjjasmine <tanghocle456@gmail.com>
Tue, 21 May 2024 06:04:01 +0000 (23:04 -0700)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 17 Mar 2025 15:35:36 +0000 (16:35 +0100)
gcc/rust/ChangeLog:

* expand/rust-macro-builtins-asm.cc (parse_clobber_abi): title.

gcc/rust/expand/rust-macro-builtins-asm.cc

index d47d95c594fb13ed996ab72a714ce5efcea15b71..74b81d2aed25ea7de8c743cdf76df0011a42e144 100644 (file)
@@ -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