On Sep 27, 2011, at 3:48 PM, Eli Friedman wrote:

> On Tue, Sep 27, 2011 at 3:38 PM, Douglas Gregor <[email protected]> wrote:
>> Author: dgregor
>> Date: Tue Sep 27 17:38:19 2011
>> New Revision: 140650
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=140650&view=rev
>> Log:
>> When 'bool' is not a built-in type but is defined as a macro, print
>> 'bool' rather than '_Bool' within types, to make things a bit more
>> readable. Fixes <rdar://problem/10063263>.
> 
> Is it actually safe to assume that bool is defined to _Bool?  It's
> probably not hard to find code that has constructs like "#define bool
> int"...

*sigh*

You are right, of course. I'm working on threading this through.

        - Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to