]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
AVR: Tabify avr-common.cc according to coding rules.
authorGeorg-Johann Lay <avr@gjlay.de>
Fri, 22 Nov 2024 20:51:10 +0000 (21:51 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Fri, 22 Nov 2024 20:51:10 +0000 (21:51 +0100)
gcc/
* common/config/avr/avr-common.cc: Tabify.

gcc/common/config/avr/avr-common.cc

index c8f40fc2367a2ccb6777225b031cc43b6c0af7d2..2ff8cbf2cbc8029d94727a3276c869d66008bd97 100644 (file)
@@ -77,8 +77,8 @@ static const struct default_options avr_option_optimization_table[] =
 
 static bool
 avr_handle_option (struct gcc_options *opts, struct gcc_options*,
-                   const struct cl_decoded_option *decoded,
-                   location_t loc ATTRIBUTE_UNUSED)
+                  const struct cl_decoded_option *decoded,
+                  location_t loc ATTRIBUTE_UNUSED)
 {
   int value = decoded->value;
 
@@ -86,22 +86,22 @@ avr_handle_option (struct gcc_options *opts, struct gcc_options*,
     {
     case OPT_mdouble_:
       if (value == 64)
-        {
+       {
 #if !defined (HAVE_DOUBLE64)
-          error_at (loc, "option %<-mdouble=64%> is only available if "
-                    "configured %<--with-double={64|64,32|32,64}%>");
+         error_at (loc, "option %<-mdouble=64%> is only available if "
+                   "configured %<--with-double={64|64,32|32,64}%>");
 #endif
-          opts->x_avropt_long_double = 64;
-        }
+         opts->x_avropt_long_double = 64;
+       }
       else if (value == 32)
-        {
+       {
 #if !defined (HAVE_DOUBLE32)
-          error_at (loc, "option %<-mdouble=32%> is only available if "
-                    "configured %<--with-double={32|32,64|64,32}%>");
+         error_at (loc, "option %<-mdouble=32%> is only available if "
+                   "configured %<--with-double={32|32,64|64,32}%>");
 #endif
-        }
+       }
       else
-        gcc_unreachable();
+       gcc_unreachable();
 
 #if defined (HAVE_LONG_DOUBLE_IS_DOUBLE)
       opts->x_avropt_long_double = value;
@@ -110,26 +110,26 @@ avr_handle_option (struct gcc_options *opts, struct gcc_options*,
 
     case OPT_mlong_double_:
       if (value == 64)
-        {
+       {
 #if !defined (HAVE_LONG_DOUBLE64)
-          error_at (loc, "option %<-mlong-double=64%> is only available if "
-                    "configured %<--with-long-double={64|64,32|32,64}%>, "
-                    "or %<--with-long-double=double%> together with "
-                    "%<--with-double={64|64,32|32,64}%>");
+         error_at (loc, "option %<-mlong-double=64%> is only available if "
+                   "configured %<--with-long-double={64|64,32|32,64}%>, "
+                   "or %<--with-long-double=double%> together with "
+                   "%<--with-double={64|64,32|32,64}%>");
 #endif
-        }
+       }
       else if (value == 32)
-        {
+       {
 #if !defined (HAVE_LONG_DOUBLE32)
-          error_at (loc, "option %<-mlong-double=32%> is only available if "
-                    "configured %<--with-long-double={32|32,64|64,32}%>, "
-                    "or %<--with-long-double=double%> together with "
-                    "%<--with-double={32|32,64|64,32}%>");
+         error_at (loc, "option %<-mlong-double=32%> is only available if "
+                   "configured %<--with-long-double={32|32,64|64,32}%>, "
+                   "or %<--with-long-double=double%> together with "
+                   "%<--with-double={32|32,64|64,32}%>");
 #endif
-          opts->x_avropt_double = 32;
-        }
+         opts->x_avropt_double = 32;
+       }
       else
-        gcc_unreachable();
+       gcc_unreachable();
 
 #if defined (HAVE_LONG_DOUBLE_IS_DOUBLE)
       opts->x_avropt_double = value;