]> granicus.if.org Git - clang/commit
ObjectiveC. Remove warning diagnostic which checks
authorFariborz Jahanian <fjahanian@apple.com>
Sat, 23 Nov 2013 00:14:32 +0000 (00:14 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Sat, 23 Nov 2013 00:14:32 +0000 (00:14 +0000)
commitb3231c35ab379380817c7da78bd72f13bc7e223f
tree7daa2ee53f850aba6bb62d77621f3ffbd79ce707
parentd8e863b2d90bc644539eb55fe027e71a908b94ed
ObjectiveC. Remove warning diagnostic which checks
attribute on method declaration and implementation
match. This makes no sense. Most annotations are
meant for declarations only and one is for implementation.
This has been constant source of regresions and hackery to
get around special cases. I am removing this check.
Such checks must be done on a case by case basis and
when it makes sense. For example, it makes sense
for availability/deprecated and I will file a radar
for that. // rdar://15531984

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195524 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclObjC.cpp
test/SemaObjC/method-attributes.m