[cfe-dev] Missing implicit cast when parsing C++ ?

John McCall rjmccall at apple.com
Thu Apr 7 11:34:29 PDT 2011


On Apr 7, 2011, at 2:31 AM, Abramo Bagnara wrote:
> Il 07/04/2011 08:57, John McCall ha scritto:
>> Also, I'm not really sure that there's a good reason for us to not
>> represent these explicitly in C, except for the design questions
>> around operands that are already of type 'int'.
> 
> This would be incongruent with C99 6.5.3.3p5.

I'm not that interested in the AST being slavishly obedient to the
standard down to the types of operands after implicit conversion.
The conversion's cast kind pretty clearly identifies what's going on.

But I don't much care either way.

John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110407/efa1d6df/attachment.html>


More information about the cfe-dev mailing list