]> granicus.if.org Git - clang/commit
MyOtherClass<MyProtocol>* is compatible with MyClass*
authorChris Lattner <sabre@nondot.org>
Mon, 7 Apr 2008 06:06:56 +0000 (06:06 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 7 Apr 2008 06:06:56 +0000 (06:06 +0000)
commit42a997c93b2166facfd3c93ffd5027e4930545dd
treecf00d447af6497d3be0e4ba96ca8c2430b862426
parent3cc4c0c3058a788689b8fc73c0ac139544435c97
MyOtherClass<MyProtocol>* is compatible with MyClass*
if MyClass is a superclass of MyOtherClass, there is no need for
an exact interface match.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49320 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
test/Sema/objc-comptypes-5.m