]> granicus.if.org Git - clang/commit
clang-format-diff: Make it work with python3 too
authorKrasimir Georgiev <krasimir@google.com>
Fri, 3 Aug 2018 10:04:58 +0000 (10:04 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Fri, 3 Aug 2018 10:04:58 +0000 (10:04 +0000)
commit58205f6b2bf6fcbd20c0e439593f41861a0d84f9
tree18ad0edac2b51b00a78fe0afd7182b880a8d912b
parent5ddb2e4ee13d75b7d4b00d5c38f7a81c98b6c14f
clang-format-diff: Make it work with python3 too

Summary: It is not necessary, but would be nice if the script run on python3 as well (as opposed to only python2, which is going to be deprecated https://pythonclock.org/)

Contributed by MarcoFalke!

Reviewers: krasimir

Reviewed By: krasimir

Subscribers: lebedev.ri, sammccall, cfe-commits

Differential Revision: https://reviews.llvm.org/D48098

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338839 91177308-0d34-0410-b5e6-96231b3b80d8
tools/clang-format/clang-format-diff.py