[Libreoffice-bugs] [Bug 42949] accelerating compile times by removing unnecessary header #include

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Apr 7 21:21:17 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=42949

--- Comment #57 from Miklos Vajna <vmiklos at collabora.co.uk> ---
(In reply to Michael Stahl from comment #15)
> include-what-you-use does indeed appear to be the best way to solve this
> because it avoids issues 1 and 2.

I recently tried to make usage of the tool in the context of LO a bit easier:

1) If your Linux system is too old to build IWYU, I've uploaded a static binary
here: https://dev-www.libreoffice.org/bin/

2) Also now there is a bin/find-unneeded-includes script in core.git that you
can just run even on header files in e.g. sc/inc/*.hxx, for other modules where
we have no idea yet what flags to use, see sc/IwyuFilter_sc.yaml for
inspiration.

I hope that makes even more easier to fix IWYU warnings in our codebase.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180407/7fd07884/attachment.html>


More information about the Libreoffice-bugs mailing list