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/AST/Expr.cpp | |
parent | 95b851e55c328af4b69da7bfc1124bf258c0ffe5 (diff) |
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/AST/Expr.cpp')
-rw-r--r-- | lib/AST/Expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index 44b8dc2c36..5d22f38770 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp @@ -991,7 +991,7 @@ bool Expr::isOBJCGCCandidate(ASTContext &Ctx) const { QualType T = VD->getType(); // dereferencing to an object pointer is always a gc'able candidate if (T->isPointerType() && - Ctx.isObjCObjectPointerType(T->getAsPointerType()->getPointeeType())) + T->getAsPointerType()->getPointeeType()->isObjCObjectPointerType()) return true; } |