[clang] [clang-format] Add Wrapped option for merging short function body (PR #205934)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 2 23:10:02 PDT 2026
owenca wrote:
> @owenca I think you pushed back previously on the addition of a style option in #145161 but it seems that forcing the one-line compression after a line break causes a regression and unexpected style change, so to me it makes sense to introduce a style option for opting into compression of short blocks after a break. Would be happy to get your thoughts on this change.
Generally speaking, if the "regression" was caused by a latent bug, we should fix the bug. We don't want to add a new option as a workaround.
https://github.com/llvm/llvm-project/pull/205934
More information about the cfe-commits
mailing list