]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix clobber_api brackets
authorjjasmine <tanghocle456@gmail.com>
Tue, 21 May 2024 06:04:01 +0000 (23:04 -0700)
committerCohenArthur <arthur.cohen@embecosm.com>
Thu, 13 Jun 2024 15:31:07 +0000 (15:31 +0000)
gcc/rust/ChangeLog:

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

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

index 310131c5b311ee0d726ddcd0c954ce71fec5b26d..cfe5906ba020e33d82c10b37ec23ec35d2f7fab7 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