[Libreoffice] Superfluous includes
Jan Holesovsky
kendy at suse.cz
Thu Apr 7 01:25:35 PDT 2011
Hi Robert,
On 2011-04-07 at 01:47 +0200, Robert Dargaud wrote:
> Is there a tool to make warning for useless hxx ?
Actually - a very good question! :-) I have googled a bit, and found
this:
http://code.google.com/p/include-what-you-use/
I did not try it myself, but seems very useful - it replaces use of
#include with forward declarations, or removes the unneeded #includes.
Seems to be a very fresh project, but I'd love to see how it deals with
LibreOffice ;-) - anybody here who can try to run that on the
LibreOffice code (or a subset of that)?
Regards,
Kendy
More information about the LibreOffice
mailing list