]> granicus.if.org Git - clang/commit
Pending further discussion, re-enable warnings for Objective C
authorJohn McCall <rjmccall@apple.com>
Tue, 26 Oct 2010 00:53:53 +0000 (00:53 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 26 Oct 2010 00:53:53 +0000 (00:53 +0000)
commit1235b0ebb16618bf41a9e7234d5e2690faf97d37
tree38c9e8397c8986026c27ef165e2e2cf9f1f073bf
parent32adc8bd6f05d1e26cc221102e48609da2c446ba
Pending further discussion, re-enable warnings for Objective C
covariant/contravariant overrides and implementations, but do so under
control of a new flag (-Wno-objc-covariant-overrides, which yes does cover
contravariance too).

*At least* the covariance cases will probably be enabled by default shortly,
but that's not totally uncontroversial.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117346 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclObjC.cpp
test/SemaObjC/method-conflict-1.m
test/SemaObjC/method-conflict-2.m [new file with mode: 0644]
test/SemaObjC/method-typecheck-3.m