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

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 17 13:20:38 PDT 2022


HazardyKnusperkeks added inline comments.


================
Comment at: clang/tools/clang-format/ClangFormat.cpp:105
+    SortIncludes("sort-includes",
+                 cl::desc("If set, overrides the include sorting behavior\n"
+                          "determined by the SortIncludes style flag"),
----------------
Couldn't one split the string in python? I think an arbitrary position to split the help isn't nice. I for one have often the terminal over half the monitor spread, sometimes even the complete monitor.


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