diff options
Diffstat (limited to 'lib/StaticAnalyzer/Core/CallEvent.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/CallEvent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Core/CallEvent.cpp b/lib/StaticAnalyzer/Core/CallEvent.cpp index 396e0f6d8d..006ca1043a 100644 --- a/lib/StaticAnalyzer/Core/CallEvent.cpp +++ b/lib/StaticAnalyzer/Core/CallEvent.cpp @@ -670,14 +670,14 @@ const Decl *ObjCMethodCall::getRuntimeDefinition() const { const ObjCObjectPointerType *ReceiverT = 0; QualType SupersType = E->getSuperType(); if (!SupersType.isNull()) { - ReceiverT = cast<ObjCObjectPointerType>(SupersType.getTypePtr()); + ReceiverT = cast<ObjCObjectPointerType>(SupersType); } else { const MemRegion *Receiver = getReceiverSVal().getAsRegion(); if (!Receiver) return 0; QualType DynType = getState()->getDynamicTypeInfo(Receiver).getType(); - ReceiverT = dyn_cast<ObjCObjectPointerType>(DynType.getTypePtr()); + ReceiverT = dyn_cast<ObjCObjectPointerType>(DynType); } // Lookup the method implementation. |