]> granicus.if.org Git - clang/commit
Ensure that the result type of an Objective-C class message send is
authorDouglas Gregor <dgregor@apple.com>
Tue, 11 Jan 2011 03:23:19 +0000 (03:23 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 11 Jan 2011 03:23:19 +0000 (03:23 +0000)
commit483dd2f55ee53bc765123ead3428aa4ad2682cf3
treedd5e20960b6b045332f30d3598e0ce9a58a4039a
parent21371ea7cf647f4f0f783faac325925cb8febb1c
Ensure that the result type of an Objective-C class message send is
complete. However, if it returns a reference type, don't require the
type it refers to to be complete. Fixes <rdar://problem/8807070>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123214 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprObjC.cpp
test/SemaObjCXX/message.mm