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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Mar 23 13:25:56 UTC 2021


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

--- Comment #396 from Panos Korovesis <panoskorovesis at outlook.com> ---
(In reply to Miklos Vajna from comment #57)
> (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.


what do i have to do to build IWYU from this bin?
when i finish the build i just run the script?
thanks

-- 
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/20210323/a107f6c2/attachment.htm>


More information about the Libreoffice-bugs mailing list