]> granicus.if.org Git - clang/commit
objc++ arc: Diagnose block pointer type mismatch when
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 28 Sep 2011 20:22:05 +0000 (20:22 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 28 Sep 2011 20:22:05 +0000 (20:22 +0000)
commitf9d9527a0f52937a1a99da465b42c3cfe080bc6a
treea1ff40e2c9405b5285d0f4264858c584af54fc87
parent9a9cddeaaebf3a84529a66c5e9212a555913084f
objc++ arc: Diagnose block pointer type mismatch when
some arguments types are ns_consumed and some otherwise
matching types are not. This fixes the objc++ side only *auch*.
// rdar://10187884

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140717 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/SemaObjCXX/arc-nsconsumed-errors.mm [new file with mode: 0644]