[cfe-commits] [PATCH] Remove unused diagnostics

Dmitri Gribenko gribozavr at gmail.com
Mon Feb 13 10:39:21 PST 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: 910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120213/2ce65c92/attachment.patch>


More information about the cfe-commits mailing list