[PATCH] D25019: [clang-tidy] Make add_new_check.py Python 3 compatible
Kirill Bobyrev via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 28 07:19:24 PDT 2016
omtcyfz created this revision.
omtcyfz added reviewers: alexfh, ioeric, bkramer.
omtcyfz added subscribers: cfe-commits, aaron.ballman.
`add_new_check.py` didn't support Python 3.X for some reason, even though it used `print` in Python 3.X-compatible way. With just a few tweaks `add_new_check.py` supports both Python 2.7.X and Python 3.X.
Tested: Python 2.7.6, Python 2.7.12, Python 3.5.2.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6490 bytes
Desc: not available
More information about the cfe-commits