summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.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
commit79d1215d83b14d26ef7dd287eced32849a44a524 (patch)
tree766f70e11be9ecc163ca5585485716f32553bac8 /clang/lib/Sema/SemaDecl.cpp
parent559835f0267418da725f3ddce7338ca8d848a2cb (diff)
downloadbcm5719-llvm-79d1215d83b14d26ef7dd287eced32849a44a524.tar.gz
bcm5719-llvm-79d1215d83b14d26ef7dd287eced32849a44a524.zip
Remove ASTContext::isObjCObjectPointerType().
Convert all clients to use the new predicate on Type. llvm-svn: 76076
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index d069fb06b98..92afc343f39 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -4271,7 +4271,7 @@ void Sema::ActOnFields(Scope* S,
else if (getLangOptions().ObjC1 &&
getLangOptions().getGCMode() != LangOptions::NonGC &&
Record &&
- (Context.isObjCObjectPointerType(FD->getType()) ||
+ (FD->getType()->isObjCObjectPointerType() ||
FD->getType().isObjCGCStrong()))
Record->setHasObjectMember(true);
// Keep track of the number of named members.
OpenPOWER on IntegriCloud