mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1539779 - clang-tidy 8 mixes stderr and stdout causing parsing issues. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D25255 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
bf99cf9d2e
commit
c303df04c3
10
build/build-clang/clang-tidy-8.patch
Normal file
10
build/build-clang/clang-tidy-8.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/extra/clang-tidy/tool/run-clang-tidy.py 2019-03-27 15:12:48.000000000 +0200
|
||||
+++ b/extra/clang-tidy/tool/run-clang-tidy.py 2019-03-27 15:12:39.000000000 +0200
|
||||
@@ -169,6 +169,7 @@
|
||||
with lock:
|
||||
sys.stdout.write(' '.join(invocation) + '\n' + output.decode('utf-8') + '\n')
|
||||
if len(err) > 0:
|
||||
+ sys.stdout.flush()
|
||||
sys.stderr.write(err.decode('utf-8') + '\n')
|
||||
queue.task_done()
|
||||
|
@ -16,5 +16,6 @@
|
||||
"cxx": "/builds/worker/workspace/build/src/gcc/bin/g++",
|
||||
"as": "/builds/worker/workspace/build/src/gcc/bin/gcc",
|
||||
"patches": [
|
||||
"clang-tidy-8.patch"
|
||||
]
|
||||
}
|
||||
|
@ -21,5 +21,6 @@
|
||||
"libtool": "/builds/worker/workspace/build/src/cctools/bin/x86_64-darwin11-libtool",
|
||||
"ld": "/builds/worker/workspace/build/src/clang/bin/clang",
|
||||
"patches": [
|
||||
"clang-tidy-8.patch"
|
||||
]
|
||||
}
|
||||
|
@ -15,5 +15,6 @@
|
||||
"cxx": "cl.exe",
|
||||
"ml": "ml64.exe",
|
||||
"patches": [
|
||||
"clang-tidy-8.patch"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user