[cfe-commits] [Patch] Remove checking signs of operands of conditional operator from -Wsign-compare
chandlerc at google.com
Thu Jul 14 18:30:51 CDT 2011
On Thu, Jul 14, 2011 at 4:24 PM, Richard Trieu <rtrieu at google.com> wrote:
> The main motivation is to make -Wsign-compare only about checking signs
> during comparisons. Since the operands of the conditional operator aren't
> compared, it seems out of place to check it there.
So, howabout a patch to just remove this part of -Wsign-compare? I mean, if
there is a good reason to keep it, then cool, I just don't think we need
another warning here...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits