]> granicus.if.org Git - clang/commit
Objective-C. Change to method lookup rules to look
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 27 Aug 2014 20:34:29 +0000 (20:34 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 27 Aug 2014 20:34:29 +0000 (20:34 +0000)
commitc8df8573681a027384d7bec55866f51ae74f8393
treec12820c204e5aa0ebcbd9df0a3ab6b5cf3ff088b
parentd92e74d96edff4e4c92ce94a71d7c2fbcd24d522
Objective-C. Change to method lookup rules to look
into primary class's named categories before looking
into their protocols. This is because categories are
part of the public interface and , just as primary class,
preference should be given to them before class
(and category) protocols.  // rdar://18013929

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216610 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclObjC.cpp
test/SemaObjC/warn-category-method-deprecated.m [new file with mode: 0644]