On Fri, Sep 23, 2011 at 1:10 PM, Richard Trieu <[email protected]> wrote:

> Add a new warning to -Wliteral-conversion to catch cases where a string
> literal
> is cast to a boolean.
>

What ever happened to putting this under -Wbool-conversion? I think
bool-conversion is a narrower categorization than literal-conversion. I
suspect it is already a strict subset, and if not we could make it a strict
subset.

Essentially, I know of lots of code (ours included) which uses
-Wbool-conversion by default, but not a lot that can use
-Wliteral-conversion.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to