[PATCH] D151761: clang-format: Add AlignConsecutiveShortCaseLabels
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 1 10:28:34 PDT 2023
MyDeveloperDay added inline comments.
================
Comment at: clang/docs/ClangFormatStyleOptions.rst:790
+
+**AlignConsecutiveShortCaseLabels** (``AlignConsecutiveStyle``) :versionbadge:`clang-format 17` :ref:`ΒΆ <AlignConsecutiveShortCaseLabels>`
+ Style of aligning consecutive short case labels.
----------------
galenelias wrote:
> MyDeveloperDay wrote:
> > Did you generate this by hand or run the dump_format_style.py function? Format.h and the rst look out of sync
> This was generated from dump_format_style.py. What looks out of sync? My guess is the confusing thing is all the styles which use `AlignConsecutiveStyle` get the same documentation pasted for them which specifically references `AlignConsecutiveMacros` and makes it look like it's for the wrong option.
that doesn't feel right to me.. not saying its not dump_format_style.py but it shouldn't do that in my view
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151761/new/
https://reviews.llvm.org/D151761
More information about the cfe-commits
mailing list