[Libreoffice-commits] core.git: bin/find-unneeded-includes
Gabor Kelemen (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 15 10:13:09 UTC 2019
bin/find-unneeded-includes | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6eed518408a93ad5a9896623d83405c4834b100c
Author: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Sun Jul 14 20:08:18 2019 +0200
Commit: Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Mon Jul 15 12:11:59 2019 +0200
find-unneeded-includes: raise maximum output line length
This is helpful when checking and rechecking the detailed output.
It happens often that removing an unnecessary header makes it
necessary to add a transitively included header. This is
indicated by an error message referring to a now unknown class name.
Finding that header was hard because the default 80 char output limit
usually truncates the class names.
Change-Id: Iae08bc326625961009038007db4a982859f64c8c
Reviewed-on: https://gerrit.libreoffice.org/75598
Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
Tested-by: Michael Stahl <Michael.Stahl at cib.de>
diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index c70006add441..66a5df6f044b 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -277,7 +277,7 @@ def tidy(compileCommands, paths):
if assume:
args = args.replace(assumeAbs, "-x c++ " + pathAbs)
- invocation = "include-what-you-use -Xiwyu --no_fwd_decls " + args
+ invocation = "include-what-you-use -Xiwyu --no_fwd_decls -Xiwyu --max_line_length=200 " + args
task_queue.put((invocation, moduleRules))
task_queue.join()
More information about the Libreoffice-commits
mailing list