https://github.com/moinakb001 updated 
https://github.com/llvm/llvm-project/pull/159997

>From fc8616ea5831d017e649b8c470cc49b301337e9a Mon Sep 17 00:00:00 2001
From: Moinak Bhattacharyya <[email protected]>
Date: Sun, 21 Sep 2025 13:42:02 -0500
Subject: [PATCH] [clang-tools-extra] Fix python syntax - pull in Queue from
 module queue

---
 .../find-all-symbols/tool/run-find-all-symbols.py             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

Reply via email to