[cfe-commits] [PATCH] Remove unused diagnostics

Ted Kremenek kremenek at apple.com
Mon Feb 13 10:41:01 PST 2012


Does that still work, given the tablegen files are in 'include' as well?

On Feb 13, 2012, at 10:39 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:

> 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>*/
> <find-unused-diagnostics-tool-v2.patch>




More information about the cfe-commits mailing list