summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-04-20 21:05:58 +0000
committerEric Fiselier <eric@efcs.ca>2017-04-20 21:05:58 +0000
commit58bef5d8e873c1a57d5e5309451327a7622f06fa (patch)
tree44d3916905a215dac73a0c556a24513644e67bd8 /llvm/lib
parent6b494d9edcde2054d58b932df6e2f8ccb539afed (diff)
downloadbcm5719-llvm-58bef5d8e873c1a57d5e5309451327a7622f06fa.tar.gz
bcm5719-llvm-58bef5d8e873c1a57d5e5309451327a7622f06fa.zip
Begin making git-clang-format python3 compatible.
This patch fixes most of the python3 incompatabilities within git-clang-format while keeping the script python2 compatible. There is still one remaining incompatability that prevents using Python3 which is the `str` vs `byte` type change. I plan to put those fixes up for review separately. This patch contains fixes for the following incompatabilities: 1) Use the new style Python3 `print` function. This requires importing __future__.print_function. 2) Fix incompatability between the Python3 octal prefix and the octal prefix Git uses. 3) Replace use of dict.iteritems() with dict.viewitems() because iteritems() has been removed in Python3. viewitems() reviews python 2.7 but that is also what the script is documented as requiring. llvm-svn: 300891
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud