On Oct 5, 2011, at 1:01 AM, Anton Korobeynikov wrote:
>> If you follow John's advice and do the promotion in
>> UsualUnaryConversions, it should pick up this case without extra code.
> No, it won't pick. UsualUnaryConversions are not called for x++, etc.
> Otherwise it will already pick the stuff, since UsualUnaryConversions
> does lvalue-to-rvalue conversion as the first step.

Right now, Clang's ASTs have no way to say that a ++ operation is done in a 
specific type; you'll need to special-case this in IR generation.

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

Reply via email to