]> granicus.if.org Git - clang/commit
A selector match between two Objective-C methods does *not* guarantee
authorDouglas Gregor <dgregor@apple.com>
Thu, 17 May 2012 23:13:29 +0000 (23:13 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 17 May 2012 23:13:29 +0000 (23:13 +0000)
commit0a4a23a6afd6db4bdcedd4e9f39d8baf4a446f15
tree6732406d14673e5bf18c863b85c1619337450461
parent593b91f628bcb7d308867730784c87af0f9db601
A selector match between two Objective-C methods does *not* guarantee
that the methods have the same number of parameters, although we
certainly assumed this in many places. Objective-C can be insane
sometimes. Fixes <rdar://problem/11460990>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157025 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclObjC.cpp
test/SemaObjC/related-result-type-inference.m