Searched refs:ToPtrType (Results 1 – 4 of 4) sorted by relevance
260 if (const PointerType* ToPtrType = ToType->getAs<PointerType>()) in isPointerConversionToVoidPointer() local261 return ToPtrType->getPointeeType()->isVoidType(); in isPointerConversionToVoidPointer()3007 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) { in CheckPointerConversion() local3010 ToPointeeType = ToPtrType->getPointeeType(); in CheckPointerConversion()3040 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion() local3047 if (FromPtrType->isObjCBuiltinType() || ToPtrType->isObjCBuiltinType()) in CheckPointerConversion()3129 const MemberPointerType *ToPtrType = ToType->getAs<MemberPointerType>(); in CheckMemberPointerConversion() local3130 assert(ToPtrType && "No member pointer cast has a target type " in CheckMemberPointerConversion()3134 QualType ToClass = QualType(ToPtrType->getClass(), 0); in CheckMemberPointerConversion()
3858 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion() local3860 = ToPtrType->getPointeeType()->getAs<BuiltinType>()) { in IsStringLiteralToNonConstPointerConversion()3863 if (!ToPtrType->getPointeeType().hasQualifiers()) { in IsStringLiteralToNonConstPointerConversion()
8333 if (const auto *ToPtrType = Step->Type->getAs<PointerType>()) { in Perform() local8335 !ToPtrType->getPointeeType()->hasAttr(attr::NoDeref)) { in Perform()
3150 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion() local3152 = ToPtrType->getPointeeType()->getAs<BuiltinType>()) { in IsStringLiteralToNonConstPointerConversion()3155 if (!ToPtrType->getPointeeType().hasQualifiers()) { in IsStringLiteralToNonConstPointerConversion()