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 | 79d1215d83b14d26ef7dd287eced32849a44a524 (patch) | |
tree | 766f70e11be9ecc163ca5585485716f32553bac8 /clang/lib/Sema/SemaExpr.cpp | |
parent | 559835f0267418da725f3ddce7338ca8d848a2cb (diff) | |
download | bcm5719-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/SemaExpr.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index d6224f1f7bd..4b3f40aa937 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -4500,9 +4500,9 @@ QualType Sema::CheckAssignmentOperands(Expr *LHS, Expr *&RHS, // Special case of NSObject attributes on c-style pointer types. if (ConvTy == IncompatiblePointer && ((Context.isObjCNSObjectType(LHSType) && - Context.isObjCObjectPointerType(RHSType)) || + RHSType->isObjCObjectPointerType()) || (Context.isObjCNSObjectType(RHSType) && - Context.isObjCObjectPointerType(LHSType)))) + LHSType->isObjCObjectPointerType()))) ConvTy = Compatible; // If the RHS is a unary plus or minus, check to see if they = and + are |