[cfe-dev] Finding redundant #includes

steve naroff snaroff at apple.com
Sat Dec 12 08:51:00 PST 2009


Hi Andrew,

I don't believe we currently have such a feature (though it's an  
interesting idea).

Implementing this wouldn't be too difficult, however it certainly  
isn't a "quick hack".

snaroff

On Dec 12, 2009, at 11:13 AM, Andrew Price wrote:

> Hi,
>
> Can clang's analysis features help me find #includes which are no  
> longer
> required in a C source file? I'm working on cleaning up some old  
> crufty
> code and it would be good to have this functionality.
>
> Andrew
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list