Searched refs:ToPtrType (Results 1 – 2 of 2) sorted by relevance
246 if (const PointerType* ToPtrType = ToType->getAs<PointerType>()) in isPointerConversionToVoidPointer() local247 return ToPtrType->getPointeeType()->isVoidType(); in isPointerConversionToVoidPointer()2742 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) { in CheckPointerConversion() local2745 ToPointeeType = ToPtrType->getPointeeType(); in CheckPointerConversion()2775 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion() local2782 if (FromPtrType->isObjCBuiltinType() || ToPtrType->isObjCBuiltinType()) in CheckPointerConversion()2864 const MemberPointerType *ToPtrType = ToType->getAs<MemberPointerType>(); in CheckMemberPointerConversion() local2865 assert(ToPtrType && "No member pointer cast has a target type " in CheckMemberPointerConversion()2869 QualType ToClass = QualType(ToPtrType->getClass(), 0); in CheckMemberPointerConversion()
3150 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion() local3152 = ToPtrType->getPointeeType()->getAs<BuiltinType>()) { in IsStringLiteralToNonConstPointerConversion()3155 if (!ToPtrType->getPointeeType().hasQualifiers()) { in IsStringLiteralToNonConstPointerConversion()