[PATCH] D109127: Fix python 2-vs-3 issues in add_new_check.py and rename_check.py

Matt Beardsley via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 2 13:42:07 PDT 2021


mattbeardsley updated this revision to Diff 370393.
mattbeardsley retitled this revision from "Use python 3 in add_new_check.py and rename_check.py" to "Fix python 2-vs-3 issues in add_new_check.py and rename_check.py".
mattbeardsley edited the summary of this revision.
mattbeardsley added a comment.

Reverted python-3-only enforcement, fixed both scripts to work with both python 2 and python 3
(generally based on the guidance here: https://python-future.org/compatible_idioms.html#strings-and-bytes)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109127

Files:
  clang-tools-extra/clang-tidy/add_new_check.py
  clang-tools-extra/clang-tidy/rename_check.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109127.370393.patch
Type: text/x-patch
Size: 4685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210902/9c6b37dc/attachment.bin>


More information about the cfe-commits mailing list