[clang] [clang-format] add option to control bin-packing keyworded parameters (PR #131605)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 31 12:00:35 PDT 2025


HazardyKnusperkeks wrote:

> > IMO, a boolean option, e.g. `AllowBreakBeforeQPropertyKeyword` should suffice.
> 
> I don't like to hardcode neither the macro name nor the keywords, which depend on Qt version. Implementation would not differ save for the source we fetch keywords from.

I support going a generic way, even if it currently seems to be only used by Qt.

https://github.com/llvm/llvm-project/pull/131605


More information about the cfe-commits mailing list