[cfe-commits] r89343 - /cfe/trunk/lib/Headers/stdint.h

Chris Lattner clattner at apple.com
Sun Nov 22 06:34:40 PST 2009


On Nov 19, 2009, at 10:30 AM, Ken Dyck wrote:

> On Thursday, November 19, 2009 11:26 AM, Chris Lattner wrote:
>> 
>> Are the ptrdiff types ever actually different from the 
>> intptr types?
> 
> Not on any of the architectures that llvm currently targets. Or any
> architecture that I know of, for that matter. On the other hand, the C
> standard, as far as I understand it, allows the two types to vary
> independently. 

Ok, well please do the simplest thing possible.  If it is cleaner to model it as one type, or cleaner to model them independently, do the best thing.  I'd rather not worry about crazy "theoretically possible" architectures if it makes things less clean.

-Chris



More information about the cfe-commits mailing list