]> granicus.if.org Git - clang/commit
5 cleanups to ObjCObjectPointerType work:
authorSteve Naroff <snaroff@apple.com>
Mon, 20 Jul 2009 17:56:53 +0000 (17:56 +0000)
committerSteve Naroff <snaroff@apple.com>
Mon, 20 Jul 2009 17:56:53 +0000 (17:56 +0000)
commit67ef8eaea8a0a2073147a8d863f0e3f30d525802
treee69453c4480792194458bc049fe3a75af6c5a28b
parentd33c868d386ef47c2942e2dbff0d9955a8591fa9
5 cleanups to ObjCObjectPointerType work:

- Remove Sema::CheckPointeeTypesForAssignment(), a temporary API I added to ease migration to ObjCObjectPointerType. Convert Sema::CheckAssignmentConstraints() to no longer depend on the temporary API.
- Sema::ConvertDeclSpecToType(): Replace a couple FIXME's with an important comment/example.
- Sema::GetTypeForDeclarator(): Get the protocol's from the interface, NOT the declspec (to support the following C typedef idiom: "typedef C<P> T; T *obj").
- Sema::ObjCQualifiedIdTypesAreCompatible(): Removed some dead code.
- ASTContext::getObjCEncodingForTypeImpl(): Some minor cleanups.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76443 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
lib/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
lib/Sema/SemaType.cpp