find-unneeded-includes: nicer output with --finderror option
Change-Id: I9d60825fec879169228b18d0d57e59221c11623b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175550 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
This commit is contained in:
parent
dba98bdebc
commit
49f2b76f96
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ def run_tool(task_queue, failed_files, dontstop, noexclude, checknamespaces, fin
|
|||
retcode = processIWYUOutput(p.communicate()[0].decode('utf-8').splitlines(), moduleRules, invocation.split(' ')[-1], noexclude, checknamespaces, finderrors)
|
||||
if finderrors:
|
||||
if p.returncode == 1:
|
||||
print("Running the IWYU process returned error code:\n",invocation)
|
||||
print("Running the IWYU process returned error code:\n" + invocation)
|
||||
if retcode == -1 and not checknamespaces:
|
||||
print("ERROR: A file is probably not self contained, check this commands output:\n" + invocation)
|
||||
elif retcode > 0:
|
||||
|
|
Loading…
Reference in a new issue