]> granicus.if.org Git - clang/commit
Refine 'deprecated' checking for Objective-C classes/methods.
authorTed Kremenek <kremenek@apple.com>
Wed, 20 Nov 2013 17:24:03 +0000 (17:24 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 20 Nov 2013 17:24:03 +0000 (17:24 +0000)
commit1251e989207a838338d5057d3af9984ce1dcefe4
tree85d3262177cf0c60caaf6a70bff3c69e83956d6b
parent29997cd9a54aad6400ba7c97c4a2be3d9f4a2e8b
Refine 'deprecated' checking for Objective-C classes/methods.

- If a deprecated class refers to another deprecated class, do not warn.
- @implementations of a deprecated class can refer to other deprecated things.

Fixes <rdar://problem/15407366> and <rdar://problem/15466783>.

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