[cfe-commits] r94364 - /cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Mike Stump mrs at apple.com
Sun Jan 24 08:16:01 PST 2010


Author: mrs
Date: Sun Jan 24 10:16:01 2010
New Revision: 94364

URL: http://llvm.org/viewvc/llvm-project?rev=94364&view=rev
Log:
Ok, turn back off -Wunreachable-code by default.

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=94364&r1=94363&r2=94364&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Sun Jan 24 10:16:01 2010
@@ -161,7 +161,7 @@
   "block could be attribute 'noreturn'">,
   InGroup<DiagGroup<"missing-noreturn">>, DefaultIgnore;
 def warn_unreachable : Warning<"will never be executed">,
-  InGroup<DiagGroup<"unreachable-code">>;
+  InGroup<DiagGroup<"unreachable-code">>, DefaultIgnore;
 
 /// Built-in functions.
 def ext_implicit_lib_function_decl : ExtWarn<





More information about the cfe-commits mailing list