]> granicus.if.org Git - clang/commit
Fix <rdar://problem/6497242> Inherited overridden protocol declared objects don't...
authorSteve Naroff <snaroff@apple.com>
Tue, 3 Mar 2009 15:43:24 +0000 (15:43 +0000)
committerSteve Naroff <snaroff@apple.com>
Tue, 3 Mar 2009 15:43:24 +0000 (15:43 +0000)
commit15edf0de6b5bc9ae227bcc9658a157ac30efd92e
tree9ba515b45da108e228c73bfc9c6389f10d7bfff0
parentca33129bb28b05938c3e6c9f8a66165b5cceb4dd
Fix <rdar://problem/6497242> Inherited overridden protocol declared objects don't work.

Change Sema::DiagnosePropertyMismatch() to check for type compatibility (rather than type equivalence, which is too strict).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65949 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.def
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExprObjC.cpp
test/SemaObjC/property-inherited.m [new file with mode: 0644]