Searched refs:ToPtrType (Results 1 – 2 of 2) sorted by relevance
252 if (const PointerType* ToPtrType = ToType->getAs<PointerType>()) in isPointerConversionToVoidPointer() local253 return ToPtrType->getPointeeType()->isVoidType(); in isPointerConversionToVoidPointer()2140 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) { in CheckPointerConversion() local2142 ToPointeeType = ToPtrType->getPointeeType(); in CheckPointerConversion()2160 if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion() local2165 if (FromPtrType->isObjCBuiltinType() || ToPtrType->isObjCBuiltinType()) in CheckPointerConversion()2241 const MemberPointerType *ToPtrType = ToType->getAs<MemberPointerType>(); in CheckMemberPointerConversion() local2242 assert(ToPtrType && "No member pointer cast has a target type " in CheckMemberPointerConversion()2246 QualType ToClass = QualType(ToPtrType->getClass(), 0); in CheckMemberPointerConversion()
2024 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion() local2026 = ToPtrType->getPointeeType()->getAs<BuiltinType>()) { in IsStringLiteralToNonConstPointerConversion()2029 if (!ToPtrType->getPointeeType().hasQualifiers() && in IsStringLiteralToNonConstPointerConversion()