From f49545602089be5b1f744e04326b8a566f6d8773 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76076 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/CGExpr.cpp') diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 377834d247..346b6703d3 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -1070,7 +1070,7 @@ LValue CodeGenFunction::EmitLValueForField(llvm::Value* BaseValue, if (attr == QualType::Weak) attr = QualType::GCNone; } - else if (getContext().isObjCObjectPointerType(Ty)) + else if (Ty->isObjCObjectPointerType()) attr = QualType::Strong; } LValue LV = -- cgit v1.2.3