[cfe-commits] [PATCH] Remove unused diagnostics

Dmitri Gribenko gribozavr at gmail.com
Mon Feb 13 12:39:21 CST 2012


On Mon, Feb 13, 2012 at 8:33 PM, Ted Kremenek <kremenek at apple.com> wrote:
> Looks great.  It looks like your script assumes that none of the header files in include have methods that issue diagnostics.  Is this true?

Right.  That is true today, but it might change in future.  Attached
patch adds `include' to the search path.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: find-unused-diagnostics-tool-v2.patch
Type: text/x-diff
Size: 909 bytes
Desc: not available
Url : http://lists.cs.uiuc.edu/pipermail/cfe-commits/attachments/20120213/2ce65c92/attachment.bin 


More information about the cfe-commits mailing list