]> granicus.if.org Git - clang/commitdiff
Objective-C. Make -Wselector-type-mismatch off by
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 28 Mar 2014 23:23:12 +0000 (23:23 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 28 Mar 2014 23:23:12 +0000 (23:23 +0000)
default until we provide a work-around for warning
suppression.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205066 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td
test/SemaObjC/selector-1.m

index c45e45c316d29c9f008983c0c101bdfe943eeb0d..f7efbbd2efcbb60639803d15c69e93d50f110769 100644 (file)
@@ -907,7 +907,7 @@ def warn_unimplemented_protocol_method : Warning<
 def warning_multiple_selectors: Warning<
   "several methods with selector %0 of mismatched types are found "
   "for the @selector expression">,
-  InGroup<SelectorTypeMismatch>;
+  InGroup<SelectorTypeMismatch>, DefaultIgnore;
 // C++ declarations
 def err_static_assert_expression_is_not_constant : Error<
   "static_assert expression is not an integral constant expression">;
index faa742616d5c35711babe30e86f0c4f14dddf0ee..0d83d47eb4e79ebf3cadb7df6e175eca0efd6d50 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -verify %s 
+// RUN: %clang_cc1  -Wselector-type-mismatch -verify %s 
 
 @interface I
 - (id) compare: (char) arg1; // expected-note {{method 'compare:' declared here}}