[clang] [clang-format] Allow array alignment on non-rectangular arrays (PR #143781)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 24 11:59:09 PST 2026
HazardyKnusperkeks wrote:
> So there is no way forward because the current undesirable, and objectively broken behaviour is baked in to tests?
That's basically always so, unless you can argue the old behavior is a bug, or an incomplete feature (like the concepts were once).
Isn't there a middle way? Add an option for your feature, which is by default off. Or only the changes of existing formatting behind the option?
Some of your changed tests may look better afterwards, but some do not (at least to me, and @owenca like he commented).
https://github.com/llvm/llvm-project/pull/143781
More information about the cfe-commits
mailing list