clang-format feature request

I’m not sure where best to post this, but I’d like to see a couple of features added to clang-format, and from browsing around, have seen others looking for these features, too.

  1. Ability to break declaration parameters into groups when more than N parameters are declared. For example, if I have more than 3 parameters declared, I’d like to see the declaration changed to show one parameter per line. I could imagine others would want a different grouping style, so maybe something like BreakParametersOfDeclarationAfter: 3, and BreakParametersOfDeclarationGroup: 1 to accomplish this.

  2. Ability to force the use of braces after an if statement, much like the clang-tidy readability-braces-around-statements option without needing to have a compilation database in place.

Any hope this request can make it to the appropriate ears?
Thanks!

Robert

[Please reply *only* to the list and do not include my email directly
in the To: or Cc: of your reply; otherwise I will not see your reply.

Thanks.]

In article <CAJL6GZowHC4_dumiUznFe88kzW96n-8_9=0c_XD-iF-hfEtifQ@mail.gmail.com>,
    Robert Ankeney via cfe-users <cfe-users@lists.llvm.org> writes:

Any hope this request can make it to the appropriate ears?

You can log feature requests on the bug tracker:

<https://bugs.llvm.org/&gt;

  "New user self-registration is disabled due to spam. For an
  account please email bugs-admin@lists.llvm.org with your e-mail
  address and full name."