]> gcc.gnu.org Git - gcc.git/commitdiff
(c_decode_option): Decode -Wreturn-type.
authorRichard Stallman <rms@gnu.org>
Sun, 22 Nov 1992 21:22:32 +0000 (21:22 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 22 Nov 1992 21:22:32 +0000 (21:22 +0000)
From-SVN: r2772

gcc/c-decl.c

index 2290bffd18c6f5b88c3cd237374b81910fa6b718..23762cb3720314a38bf955a67496b95b3b293433 100644 (file)
@@ -627,6 +627,10 @@ c_decode_option (p)
     warn_parentheses = 1;
   else if (!strcmp (p, "-Wno-parentheses"))
     warn_parentheses = 0;
+  else if (!strcmp (p, "-Wreturn-type"))
+    warn_return_type = 1;
+  else if (!strcmp (p, "-Wno-return-type"))
+    warn_return_type = 0;
   else if (!strcmp (p, "-Wcomment"))
     ; /* cpp handles this one.  */
   else if (!strcmp (p, "-Wno-comment"))
This page took 0.073439 seconds and 5 git commands to generate.