[PATCH] D37138: Make run-clang-tidy compatible with Python 3.x

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 25 06:51:21 PDT 2017


alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.

Please don't forget go add cfe-commits to subscribers when you create a differential revision.

LG with one comment.



================
Comment at: clang-tidy/tool/run-clang-tidy.py:242
     # Spin up a bunch of tidy-launching threads.
-    queue = Queue.Queue(max_task)
+    q = queue.Queue(max_task)
     for _ in range(max_task):
----------------
let's give it a more meaningful name, e.g. file_queue or task_queue.


https://reviews.llvm.org/D37138





More information about the cfe-commits mailing list