[PATCH] D61850: Removed superfluous and slightly annoying newlines in run-clang-tidy's output.

Jonas Toth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 05:39:38 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL360883: [clang-tidy] Removed superfluous and slightly annoying newlines in run-clang… (authored by JonasToth, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D61850?vs=199230&id=199800#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61850/new/

https://reviews.llvm.org/D61850

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
@@ -170,10 +170,10 @@
     if proc.returncode != 0:
       failed_files.append(name)
     with lock:
-      sys.stdout.write(' '.join(invocation) + '\n' + output.decode('utf-8') + '\n')
+      sys.stdout.write(' '.join(invocation) + '\n' + output.decode('utf-8'))
       if len(err) > 0:
         sys.stdout.flush()
-        sys.stderr.write(err.decode('utf-8') + '\n')
+        sys.stderr.write(err.decode('utf-8'))
     queue.task_done()
 
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61850.199800.patch
Type: text/x-patch
Size: 701 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190516/fe95f581/attachment.bin>


More information about the llvm-commits mailing list