[PATCH] Add a flag to disable all analyzer warnings

Anna Zaks ganna at apple.com
Fri Aug 29 11:38:48 PDT 2014


Please, review:

Add an option to silence all analyzer warnings.

People have been incorrectly using "-analyzer-disable-checker" to 
silence analyzer warnings on a file, when analyzing a project. Add 
the "-analyzer-disable-all-checks" option, which would allow to do 
this and suggest it as part of the error message for 
"-analyzer-disable-checker".

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140829/dff90518/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable-all-checks.diff
Type: application/octet-stream
Size: 5463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140829/dff90518/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140829/dff90518/attachment-0001.html>


More information about the cfe-commits mailing list