summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-07-14 20:08:18 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-07-15 12:11:59 +0200
commit6eed518408a93ad5a9896623d83405c4834b100c (patch)
tree70566eae25e65883ddf24dae8b80b3943a3e0571 /bin
parentbdffe94e0a467774f0b87a4b74587390b4338100 (diff)
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@cib.de> Tested-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/find-unneeded-includes2
1 files changed, 1 insertions, 1 deletions
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()