From 79d1215d83b14d26ef7dd287eced32849a44a524 Mon Sep 17 00:00:00 2001 From: Steve Naroff Date: Thu, 16 Jul 2009 15:41:00 +0000 Subject: Remove ASTContext::isObjCObjectPointerType(). Convert all clients to use the new predicate on Type. llvm-svn: 76076 --- clang/lib/Analysis/CFRefCount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Analysis/CFRefCount.cpp') diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index 1cfd783492b..3d2e3ac9a89 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/lib/Analysis/CFRefCount.cpp @@ -881,7 +881,7 @@ RetainSummaryManager::getPersistentSummary(ArgEffects AE, RetEffect RetEff, //===----------------------------------------------------------------------===// bool RetainSummaryManager::isTrackedObjCObjectType(QualType Ty) { - if (!Ctx.isObjCObjectPointerType(Ty)) + if (!Ty->isObjCObjectPointerType()) return false; const ObjCObjectPointerType *PT = Ty->getAsObjCObjectPointerType(); -- cgit v1.2.3