Author: Moinak Bhattacharyya Date: 2025-09-27T10:00:25+04:00 New Revision: 779adf16c941d489399d67c8befe418ad93528e4
URL: https://github.com/llvm/llvm-project/commit/779adf16c941d489399d67c8befe418ad93528e4 DIFF: https://github.com/llvm/llvm-project/commit/779adf16c941d489399d67c8befe418ad93528e4.diff LOG: [clang-tools-extra] Fix python syntax - pull in Queue from module queue (#159997) No such module as `Queue` - the `Queue` class is part of the `queue` module. Added: Modified: clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py Removed: ################################################################################ diff --git a/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py b/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py index 471dbf8c110b4..49a1b14932644 100755 --- a/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py +++ b/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py @@ -26,7 +26,7 @@ import json import multiprocessing import os -import Queue +from queue import Queue import shutil import subprocess import sys @@ -105,7 +105,7 @@ def main(): try: # Spin up a bunch of tidy-launching threads. - queue = Queue.Queue(max_task) + queue = Queue(max_task) for _ in range(max_task): t = threading.Thread( target=run_find_all_symbols, args=(args, tmpdir, build_path, queue) _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
