On 05/12/2012 07:51 PM, Manuel López-Ibáñez wrote:
It seems very conservative also to me. I think the code should just
unconditionally recurse on the operands of COND_EXPR. The recursion
should then take care of the casts. So then c = b ? c : i; will warn
about 'i', not about the whole conditional expression.
Did you find any issues with doing:
I didn't, but really I couldn't spend enough time on this issue. There
are too many tiny details I don't know how exactly we want to handle. I
think I'm going to unassign myself and hope that you are willing to
finish up the work.
Thanks!
Paolo.