[PATCH] D151761: clang-format: Add AlignConsecutiveShortCaseStatements
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 13 14:06:57 PDT 2023
owenpan added a comment.
In D151761#4418809 <https://reviews.llvm.org/D151761#4418809>, @HazardyKnusperkeks wrote:
> I think we need some input what should be able to be aligned - the statement vs. the colon - and only //short// case statements vs all case statements.
I think we should align the colons only for short case statements and don't align if `AllowShortCaseLabelsOnASingleLine` is false.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151761/new/
https://reviews.llvm.org/D151761
More information about the cfe-commits
mailing list