[PATCH] D48098: clang-format-diff: Switch to python3 by default, support python 2.7

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 13 23:15:28 PDT 2018


lebedev.ri added a comment.

Please always upload all patches with the full context (`-U99999`)



================
Comment at: tools/clang-format/clang-format-diff.py:1
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
----------------
Why do you need to *switch* the default?
What's wrong with [at least starting with] just making sure it works with both python 2 and 3?


https://reviews.llvm.org/D48098





More information about the cfe-commits mailing list