[clang] [clang-format] Change LLVM style to BreakAfterAttributes == ABS_Leave (PR #70360)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 26 12:36:23 PDT 2023
AaronBallman wrote:
I'm in favor of these changes. The current formatting makes some pretty bad decisions in places, but I think it's a hard problem to solve -- some attributes are longer and may want to be on their own line, other attributes are shorter and maybe are reasonable to inline, but there will always be the ones in the middle where it could go either way and will be wrong periodically. Picking "leave them where the developer put them" seems like a pretty reasonable compromise to me.
Uncertain how others feel about it though.
https://github.com/llvm/llvm-project/pull/70360
More information about the cfe-commits
mailing list