<div dir="ltr">My current .clang-format uses <u>BreakBeforeBraces: Allman</u> but it doesn't break before the lambda body. In clang-format-11 there's a <u>BraceWrapping.BeforeLambdaBody</u> option for that. However, it requires <u>BreakBeforeBraces: Custom</u> and now I need to specify 17 parameters to get Allman  + break before lambda behavior. Possible solutions to this:<div>1. Fix Allman style to break before the lambda body.</div><div>2. Don't require <u>BreakBeforeBraces: Custom</u> and all<font size="2">ow <u>BraceWrappingFlags</u> to override selected <u>BreakBeforeBracesStyle</u>.</font></div><div><font size="2">3. Keep </font><u>BreakBeforeBraces: Custom</u> requirement but introduce <u>BraceWrappingFlags.BasedOnStyle</u> option. It will work just as the 2nd option but in a non-breaking-change way, e.g. in existing configs with both non-Custom BreakBeforeBraces and BraceWrapping options the latter will be ignored.<br></div><div><font size="2"></font><code></code><code class="gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre"></span></code><strong></strong></div><div><div><br></div><div>If this is not the right place for a feature request please point me in the right direction.<br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div>Oleksandr Koval.<br></div></div></div></div></div></div>