[PATCH] D29039: [clang-format] Proposal for clang-format -r option

Zachary Turner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 10 09:45:47 PDT 2019


zturner added a comment.

In Windows you just write a Python script to do this, and this works everywhere, not just on one platform or the other, so bash isn't even necessary and Python is easy to write so I wouldn't really say it's "even harder".  If you google for `run-clang-format.py` you'll find a script that actually branches out and does this in parallel.  There's a lot of logic and smarts you could bake into an external tool which can then be used for many different programs, not just clang-format.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D29039/new/

https://reviews.llvm.org/D29039





More information about the cfe-commits mailing list