Home
last modified time | relevance | path

Searched refs:ToPtrType (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp260 if (const PointerType* ToPtrType = ToType->getAs<PointerType>()) in isPointerConversionToVoidPointer() local
261 return ToPtrType->getPointeeType()->isVoidType(); in isPointerConversionToVoidPointer()
3007 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) { in CheckPointerConversion() local
3010 ToPointeeType = ToPtrType->getPointeeType(); in CheckPointerConversion()
3040 } else if (const ObjCObjectPointerType *ToPtrType = in CheckPointerConversion() local
3047 if (FromPtrType->isObjCBuiltinType() || ToPtrType->isObjCBuiltinType()) in CheckPointerConversion()
3129 const MemberPointerType *ToPtrType = ToType->getAs<MemberPointerType>(); in CheckMemberPointerConversion() local
3130 assert(ToPtrType && "No member pointer cast has a target type " in CheckMemberPointerConversion()
3134 QualType ToClass = QualType(ToPtrType->getClass(), 0); in CheckMemberPointerConversion()
DSemaExprCXX.cpp3858 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion() local
3860 = ToPtrType->getPointeeType()->getAs<BuiltinType>()) { in IsStringLiteralToNonConstPointerConversion()
3863 if (!ToPtrType->getPointeeType().hasQualifiers()) { in IsStringLiteralToNonConstPointerConversion()
DSemaInit.cpp8333 if (const auto *ToPtrType = Step->Type->getAs<PointerType>()) { in Perform() local
8335 !ToPtrType->getPointeeType()->hasAttr(attr::NoDeref)) { in Perform()
/external/clang/lib/Sema/
DSemaExprCXX.cpp3150 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion() local
3152 = ToPtrType->getPointeeType()->getAs<BuiltinType>()) { in IsStringLiteralToNonConstPointerConversion()
3155 if (!ToPtrType->getPointeeType().hasQualifiers()) { in IsStringLiteralToNonConstPointerConversion()