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/Analysis/Store.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/Analysis/Store.cpp')
-rw-r--r-- | clang/lib/Analysis/Store.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/Store.cpp b/clang/lib/Analysis/Store.cpp index c7f9eecc738..b939a0df9ca 100644 --- a/clang/lib/Analysis/Store.cpp +++ b/clang/lib/Analysis/Store.cpp @@ -55,7 +55,7 @@ StoreManager::NewCastRegion(const GRState *state, const MemRegion* R, QualType ToTy = Ctx.getCanonicalType(CastToTy); // Handle casts to Objective-C objects. - if (Ctx.isObjCObjectPointerType(CastToTy)) { + if (CastToTy->isObjCObjectPointerType()) { state = setCastType(state, R, CastToTy); return CastResult(state, R); } |