-Wselector-type-mismatch default again. After
internal discussions, we think that in most cases
it has helped our developers find hard to detect
undefined behaviors. We are going to provide a syntax
(and fix-it) to suppress the warning in remaining of
false positive cases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205024
91177308-0d34-0410-b5e6-
96231b3b80d8
def warning_multiple_selectors: Warning<
"several methods with selector %0 of mismatched types are found "
"for the @selector expression">,
- InGroup<SelectorTypeMismatch>, DefaultIgnore;
+ InGroup<SelectorTypeMismatch>;
// C++ declarations
def err_static_assert_expression_is_not_constant : Error<
"static_assert expression is not an integral constant expression">;
-// RUN: %clang_cc1 -Wselector-type-mismatch -verify %s
+// RUN: %clang_cc1 -verify %s
@interface I
- (id) compare: (char) arg1; // expected-note {{method 'compare:' declared here}}