diff options
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index f4f2fecc21..8b5848f523 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -756,7 +756,7 @@ SVal RegionStoreManager::EvalBinOp(const GRState *state, if (const PointerType *PT = T->getAs<PointerType>()) EleTy = PT->getPointeeType(); else - EleTy = T->getAsObjCObjectPointerType()->getPointeeType(); + EleTy = T->getAs<ObjCObjectPointerType>()->getPointeeType(); SVal ZeroIdx = ValMgr.makeZeroArrayIndex(); ER = MRMgr.getElementRegion(EleTy, ZeroIdx, SR, getContext()); |