[cfe-dev] -Wunique-enum; is it worth it?

Ted Kremenek kremenek at apple.com
Thu Sep 13 12:59:49 PDT 2012

On Sep 12, 2012, at 3:55 PM, Douglas Gregor <dgregor at apple.com> wrote:

> I don't think this warning belongs in Clang at all, even under DefaultIgnore. The false positive rate is far too high for it to be useful for the majority of users, and it isn't the kind of warning that maps well to DefaultIgnore, because it doesn't correspond to some stylistic decision or usage pattern…. it's just too noisy for the majority of users.

I agree.  This seems highly stylistic and not generally applicable.  Unless there are objections, I will remove this warning entirely tomorrow.  I think it was a good experiment, but I don't see the general payoff here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120913/cb1a0190/attachment.html>

More information about the cfe-dev mailing list