[cfe-dev] proposal: every warning should have a -W flag
Ted Kremenek
kremenek at apple.com
Thu Aug 11 15:18:15 PDT 2011
On Aug 10, 2011, at 3:32 PM, Chandler Carruth wrote:
> I love this. It's been unwritten policy for the warnings we're adding, and I think it'd be good to do it generally.
>
> I'll particularly like that we can test and ensure that new warnings are always given a flag. =] Hopefully we can help move some of the warnings under flags that aren't yet.
>
>
Okay, the consensus is we should do this. We can haggle out the naming of -W flags we go forward.
I've added the diagtool test that enforces that all new warnings require a flag:
http://llvm.org/viewvc/llvm-project?view=rev&revision=137369
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110811/a57807e2/attachment.html>
More information about the cfe-dev
mailing list