Searched refs:destPointee (Results 1 – 4 of 4) sorted by relevance
675 bool isSafePointerCast(Type srcPointee, Type destPointee) in isSafePointerCast() argument678 while (srcPointee.ty == Tpointer && destPointee.ty == Tpointer) in isSafePointerCast()681 destPointee = destPointee.nextOf(); in isSafePointerCast()684 if (srcPointee.constConv(destPointee)) in isSafePointerCast()688 if (srcPointee.unSharedOf() == destPointee.unSharedOf()) in isSafePointerCast()692 if (srcPointee.ty == Tfunction && destPointee.ty == Tfunction) in isSafePointerCast()693 return srcPointee.covariant(destPointee) == Covariant.yes || in isSafePointerCast()694 destPointee.covariant(srcPointee) == Covariant.yes; in isSafePointerCast()696 if (destPointee.ty == Tvoid) in isSafePointerCast()699 if (srcPointee.ty == Taarray && destPointee == Type.tvoidptr) in isSafePointerCast()[all …]
666 bool isSafePointerCast(Type *srcPointee, Type *destPointee) in isSafePointerCast() argument669 while (srcPointee->ty == Tpointer && destPointee->ty == Tpointer) in isSafePointerCast()672 destPointee = destPointee->nextOf(); in isSafePointerCast()676 if (srcPointee->constConv(destPointee)) in isSafePointerCast()680 if (srcPointee->ty == Tfunction && destPointee->ty == Tfunction) in isSafePointerCast()681 return srcPointee->covariant(destPointee) == 1; in isSafePointerCast()684 if (destPointee->ty == Tvoid) in isSafePointerCast()688 if (srcPointee->ty == Taarray && destPointee == Type::tvoidptr) in isSafePointerCast()694 if (srcPointee->ty == Tsarray && destPointee->ty == Tsarray) in isSafePointerCast()696 if (srcPointee->size() != destPointee->size()) in isSafePointerCast()[all …]
187 bool isSafePointerCast(Type *srcPointee, Type *destPointee);
7977 QualType destPointee in checkConditionalObjectPointersCompatibility() local7979 QualType destType = S.Context.getPointerType(destPointee); in checkConditionalObjectPointersCompatibility()7987 QualType destPointee in checkConditionalObjectPointersCompatibility() local7989 QualType destType = S.Context.getPointerType(destPointee); in checkConditionalObjectPointersCompatibility()8490 QualType destPointee in FindCompositeObjCPointerType() local8492 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType()8510 QualType destPointee in FindCompositeObjCPointerType() local8512 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType()