[PATCH] D155192: [clang] scan-view: Remove unused python import

Tulio Magno Quites Machado Filho via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 13 06:02:07 PDT 2023


tuliom created this revision.
tuliom added a reviewer: clang.
tuliom added a project: clang.
Herald added a project: All.
tuliom requested review of this revision.
Herald added a subscriber: cfe-commits.

[clang] scan-view: Remove unused python import

Python's module imp is not being used and is not available on Python
3.12 anymore.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155192

Files:
  clang/tools/scan-view/bin/scan-view


Index: clang/tools/scan-view/bin/scan-view
===================================================================
--- clang/tools/scan-view/bin/scan-view
+++ clang/tools/scan-view/bin/scan-view
@@ -6,7 +6,6 @@
 """
 
 import sys
-import imp
 import os
 import posixpath
 import threading


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155192.539984.patch
Type: text/x-patch
Size: 285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230713/27587d45/attachment.bin>


More information about the cfe-commits mailing list