From 6eed518408a93ad5a9896623d83405c4834b100c Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sun, 14 Jul 2019 20:08:18 +0200 Subject: 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 Tested-by: Michael Stahl --- bin/find-unneeded-includes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/find-unneeded-includes') 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() -- cgit