[PATCH] D60453: ClangTidy: Avoid mixing stdout with stderror when dealing with a large number of files.
Andi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 9 03:33:49 PDT 2019
Abpostelnicu created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D60453
Files:
clang-tidy/tool/run-clang-tidy.py
Index: clang-tidy/tool/run-clang-tidy.py
===================================================================
--- clang-tidy/tool/run-clang-tidy.py
+++ clang-tidy/tool/run-clang-tidy.py
@@ -172,6 +172,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()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60453.194284.patch
Type: text/x-patch
Size: 437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190409/cf9cf75c/attachment.bin>
More information about the cfe-commits
mailing list