summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-07-16 15:41:00 +0000
committerSteve Naroff <snaroff@apple.com>2009-07-16 15:41:00 +0000
commitf49545602089be5b1f744e04326b8a566f6d8773 (patch)
treec6a833eba46840cff3d65f06772865ffe525c711 /lib/CodeGen/CGExpr.cpp
parent95b851e55c328af4b69da7bfc1124bf258c0ffe5 (diff)
downloadclang-f49545602089be5b1f744e04326b8a566f6d8773.tar.gz
clang-f49545602089be5b1f744e04326b8a566f6d8773.tar.bz2
clang-f49545602089be5b1f744e04326b8a566f6d8773.tar.xz
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
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
-rw-r--r--lib/CodeGen/CGExpr.cpp2
1 files changed, 1 insertions, 1 deletions
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 =