forked from OSchip/llvm-project
Objective-C. Make -Wselector-type-mismatch off by
default until we provide a work-around for warning suppression. llvm-svn: 205066
This commit is contained in:
parent
6af9bc565e
commit
6e94302ee3
|
@ -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">;
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue