[PATCH] D23602: Port tools/clang-format/git-clang-format to work Python beyond 2.7

Andreas Bergmeier via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 17 02:56:58 PDT 2016


abergmeier-dsfishlabs created this revision.
abergmeier-dsfishlabs added a reviewer: djasper.
abergmeier-dsfishlabs added a subscriber: cfe-commits.
abergmeier-dsfishlabs set the repository for this revision to rL LLVM.
abergmeier-dsfishlabs changed the edit policy of this Differential Revision from "All Users" to "abergmeier-dsfishlabs (Andreas Bergmeier)".

Since Python3 may deliberately not be available on Linux Systems (to prevent people from writing non-futureproof code), git-clang-format should not only work with Python2.7. This patch adds support for Python3.

Repository:
  rL LLVM

https://reviews.llvm.org/D23602

Files:
  tools/clang-format/git-clang-format

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23602.68326.patch
Type: text/x-patch
Size: 4899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160817/3a972d94/attachment.bin>


More information about the cfe-commits mailing list