Remove ASTContext::isObjCObjectPointerType().
Convert all clients to use the new predicate on Type.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76076 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index d069fb0..92afc34 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -4271,7 +4271,7 @@
     else if (getLangOptions().ObjC1 &&
              getLangOptions().getGCMode() != LangOptions::NonGC &&
              Record &&
-             (Context.isObjCObjectPointerType(FD->getType()) ||
+             (FD->getType()->isObjCObjectPointerType() ||
               FD->getType().isObjCGCStrong()))
       Record->setHasObjectMember(true);
     // Keep track of the number of named members.