The options listed in ClangFormat.rst lag behind those output by the
-help command line option. Specifically, these are missing.
--files
--qualifier-alignment
Fixes #54418
Differential D121890
[clang-format] Copy help options to the doc directory. sstwcw on Mar 17 2022, 1:49 AM. Authored by
Details The options listed in ClangFormat.rst lag behind those output by the --files Fixes #54418
Diff Detail
Event TimelineComment Actions If anyone's wondering why all the lines changed. The --qualifier-alignment is too long so all the descriptions are moved to the right.
Comment Actions
Comment Actions The issue is #54418. Actually I don't know who I should add as reviewers. The patches for clang-format don't always seem to have the same reviewers. Who are the main developers and how do you decide who you add each time? I give up making the doc generated. It would require either integrating into the build process or writing a parser script like for the style options. Besides, that file is not entirely generated. Comment Actions We have been adding @MyDeveloperDay @curdeius @HazardyKnusperkeks as reviewers to your patches. For JavaScript, you should add @krasimir too. Comment Actions ok neither is ClangFormatStyleOptions.rts, but also the doc/tools/dump_format_style.py is also something thats not part of the build, but just a tool we can run to ensure the Format.h and ClangFormatStryleOptions.rst stay in lock step. So actually I think that's a good task for someone to do, but its not necessary to do it here, but actually I think I'd prefer to see that than having to keep this the same by hand. I clearly missed that step. (so I appreciate you adding it) |
Shouldn't long descriptions like this one be split into multiple lines and aligned with -?
Did you do it by hand or with some script?