> On Mar 24, 2016, at 9:43 PM, Chris Lattner <[email protected]> wrote:
> On Mar 24, 2016, at 7:28 PM, John McCall via swift-evolution 
> <[email protected]> wrote:
>> I'd actually be much more concerned about the pervasive assumptions about 
>> pointer representation in Clang and LLVM than I would be with Swift.
>> 
>> Now, it would probably be very annoying to support a platform where 
>> different pointer types had different null values, but the last of those 
>> died awhile ago, I believe.
> 
> The last significant one IIRC was Itanium, in the case of C++ member pointers 
> (themselves an odd beast), which had a different representation than data 
> pointers (-1 is null).

That's not really target-specific; it's equally true for everybody using that 
C++ ABI, including us.  But member pointers are a fundamentally different 
concept from C pointers, despite the name.

John.
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to