[cfe-dev] Integer promotions in C-style cast expressions?

Eli Friedman eli.friedman at gmail.com
Sat Aug 15 12:02:53 PDT 2009


On Thu, Aug 13, 2009 at 5:02 AM, Enea Zaffanella<zaffanella at cs.unipr.it> wrote:
>>> Function UsualUnaryConversions mixes array/function decays and integral
>>> promotions. In our opinion, operands of explicit casts should be subject
>>> to type decay, but not to promotions.
>>
>> That sounds fine; could you send a patch to cfe-commits?
>
> Here is the (tiny) patch.
> After fixing a single expected result,
> it passes all clang tests.

Applied in r79126.

-Eli



More information about the cfe-dev mailing list