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

Eugene Shalygin via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 3 08:37:38 PDT 2025


zeule wrote:

Of course it is only because of the Qt popularity I submit this changeset  to the mainline.

The keywords are natural delimiters in those declarations,  so I can't see the proposed solution to use them as delimiters to be unsuitable to an any significant group of Qt users. In the defense of the generic approach I want to remind that Qt's moc expands macros, thus one can replace the standard keywords (and, I guess, the "Q_PROPERTY" itself) with anything else.

I can try to use contexts in the implementation, but I still oppose targeting `Q_PROPERTY` literal in the source code.

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


More information about the cfe-commits mailing list