https://bugs.freedesktop.org/show_bug.cgi?id=70371
Priority: medium
Bug ID: 70371
Assignee: [email protected]
Summary: Identify unused headers
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: unspecified
Component: Libreoffice
Product: LibreOffice
Now that we have gbuild and gbuild only it should be rather easy to identify
unused C/C++ headers. For this, this EasyHack asks to create a script that:
- concats and sorts all the filenames mentioned in
workdir/unxlngx6.pro/Dep/CxxObject and workdir/unxlngx6.pro/Dep/CObject
- runs a `git ls-tree HEAD -r --name-only`
- and reports files in the second that are not in the first.
This might still create some false positives because of e.g. platform dependant
files, but it should be a good starting point: Obviously such headers if truly
unused, should be removed from the repository tree.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs