diff options
| author | Steve Naroff <snaroff@apple.com> | 2009-07-16 15:41:00 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2009-07-16 15:41:00 +0000 |
| commit | f49545602089be5b1f744e04326b8a566f6d8773 (patch) | |
| tree | c6a833eba46840cff3d65f06772865ffe525c711 /lib/CodeGen/CGExpr.cpp | |
| parent | 95b851e55c328af4b69da7bfc1124bf258c0ffe5 (diff) | |
| download | clang-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.cpp | 2 |
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 = |
