]> gcc.gnu.org Git - gcc.git/commitdiff
gccrs: Placate clang-format re 'gcc/rust/backend/rust-tree.cc'
authorThomas Schwinge <tschwinge@baylibre.com>
Tue, 12 Mar 2024 08:36:43 +0000 (09:36 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 1 Aug 2024 11:12:15 +0000 (13:12 +0200)
Reformat the upstream GCC commit f4a2ae2338962208b8039f154f5912402e94c378
"Change MODE_BITSIZE to MODE_PRECISION for MODE_VECTOR_BOOL" change to
'gcc/rust/backend/rust-tree.cc' to clang-format's liking.

gcc/rust/
* backend/rust-tree.cc (c_common_type_for_mode): Placate clang-format.

gcc/rust/backend/rust-tree.cc

index 2a5ffcbf895606dac06ee2d049ef02ebc18700bd..cdb79095da88208002b821c3a560745e8bf85897 100644 (file)
@@ -5371,8 +5371,8 @@ c_common_type_for_mode (machine_mode mode, int unsignedp)
   else if (GET_MODE_CLASS (mode) == MODE_VECTOR_BOOL
           && valid_vector_subparts_p (GET_MODE_NUNITS (mode)))
     {
-      unsigned int elem_bits
-       = vector_element_size (GET_MODE_PRECISION (mode), GET_MODE_NUNITS (mode));
+      unsigned int elem_bits = vector_element_size (GET_MODE_PRECISION (mode),
+                                                   GET_MODE_NUNITS (mode));
       tree bool_type = build_nonstandard_boolean_type (elem_bits);
       return build_vector_type_for_mode (bool_type, mode);
     }
This page took 0.062567 seconds and 5 git commands to generate.