]> granicus.if.org Git - clang/commit
Objective-C: Tweak unavailability warning.
authorNico Weber <nicolasweber@gmx.de>
Sat, 27 Dec 2014 07:09:37 +0000 (07:09 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 27 Dec 2014 07:09:37 +0000 (07:09 +0000)
commit8fe261c229dbd8516e13c6e5a3ad5fc554ad0d26
tree54b351277c49384bb7e1dc1a5684bfeba012d3c1
parent785c47f70f19be1abdb5be2ebadcc8d9c29cd627
Objective-C: Tweak unavailability warning.

Don't warn when a selector has an unavailable and an available variant,
and the first also has an implementation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224881 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclObjC.cpp
test/SemaObjC/attr-deprecated.m