bin/find-unneeded-includes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6eed518408a93ad5a9896623d83405c4834b100c Author: Gabor Kelemen <[email protected]> AuthorDate: Sun Jul 14 20:08:18 2019 +0200 Commit: Michael Stahl <[email protected]> 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 <[email protected]> Tested-by: Michael Stahl <[email protected]> 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() _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
