[PATCH] D37482: run-clang-tidy: Use check_call instead of check_output
Kevin Funk via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 27 23:17:33 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL319148: run-clang-tidy: Use check_call instead of check_output (authored by kfunk).
Repository:
rL LLVM
https://reviews.llvm.org/D37482
Files:
clang-tools-extra/trunk/clang-tidy/tool/run-clang-tidy.py
Index: clang-tools-extra/trunk/clang-tidy/tool/run-clang-tidy.py
===================================================================
--- clang-tools-extra/trunk/clang-tidy/tool/run-clang-tidy.py
+++ clang-tools-extra/trunk/clang-tidy/tool/run-clang-tidy.py
@@ -222,7 +222,7 @@
if args.checks:
invocation.append('-checks=' + args.checks)
invocation.append('-')
- print(subprocess.check_output(invocation))
+ subprocess.check_call(invocation)
except:
print("Unable to run clang-tidy.", file=sys.stderr)
sys.exit(1)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37482.124517.patch
Type: text/x-patch
Size: 549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171128/9c0cd267/attachment.bin>
More information about the cfe-commits
mailing list