[cfe-commits] [Patch] Remove checking signs of operands of conditional operator from -Wsign-compare

Chandler Carruth chandlerc at google.com
Thu Jul 14 16:30:51 PDT 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...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110714/fbf4ec86/attachment.html>


More information about the cfe-commits mailing list