]> granicus.if.org Git - clang/commit
Fix <rdar://problem/6619539> incompatible pointer types sending 'XCElementSpacer...
authorSteve Naroff <snaroff@apple.com>
Sun, 1 Mar 2009 16:12:44 +0000 (16:12 +0000)
committerSteve Naroff <snaroff@apple.com>
Sun, 1 Mar 2009 16:12:44 +0000 (16:12 +0000)
commit91b0b0cf6b537cbcbca0038c7032f87161a41d31
tree846f280b27db963040c60612f2e344c7d791f7e4
parent0312c0e09c9de480d78607972ac64a88f4e94a33
Fix <rdar://problem/6619539> incompatible pointer types sending 'XCElementSpacer *', expected 'XCElement *' (not handling protocol signatures correctly?).

- Reworked ASTContext::canAssignObjCInterfaces().
- Added ObjCProtocolDecl::lookupProtocolNamed().

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65773 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclObjC.h
lib/AST/ASTContext.cpp
lib/AST/DeclObjC.cpp
test/SemaObjC/protocol-typecheck.m [new file with mode: 0644]
test/SemaObjC/protocol-undef.m