Page MenuHomePhabricator

update comments in clang-format.py for python3 compatibility
Needs ReviewPublic

Authored by pseyfert on Oct 1 2017, 5:37 AM.

Details

Summary

D23319 introduced python3 compatibility to clang-format.py, this is however not reflected by the documentation in the comments at the beginning of the file, which show how to use the script with python2 in .vimrc. While the actual mapping a user might want to use may well differ from my suggestion, I think it's nice to show the python2 and python3 version, such that a user can pick from the suggestions instead of googeling the python3 replacement for :pyf which they might not be familiar with.

(picking reviewers from D23319)

Diff Detail

Repository
rL LLVM

Event Timeline

pseyfert created this revision.Oct 1 2017, 5:37 AM
ychen added a subscriber: ychen.Jun 28 2019, 2:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 28 2019, 2:24 PM