[cfe-commits] [PATCH][PR11329] Generalize -Wempty-body: warn when statement body is a empty

Ted Kremenek kremenek at apple.com
Wed Jan 4 14:42:16 PST 2012


On Jan 4, 2012, at 2:16 PM, Anna Zaks wrote:

> I think, the main difficulty is to find out if we can come up with a set of heuristics which would preserve the usefulness of the warning and produce very little false alarms (for example, based on Nico's findings). 

Agreed.  Without such heuristics, its not going to be an on-by-default warning in the static analyzer either, which means it will have even less usefulness.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120104/d2b7ad74/attachment.html>


More information about the cfe-commits mailing list