[PATCH] D121916: [clang-format] [doc] Add script to automatically update help output in ClangFormat.rst.

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 17 08:18:20 PDT 2022


curdeius added a comment.

This is an alternative to D121890 <https://reviews.llvm.org/D121890>.
This patch goes a step further and adds a script to update the .rst file.
It isn't invoked during the build, one needs to run it manually (just as `dump_format_style.py`).

There's also a validation option, currently set to column width at 95 chars. I fixed some very long lines but did't try to fix everything (it would need changing help message which is used not only by clang-format).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121916



More information about the cfe-commits mailing list