Unverified Commit 22fc2cb1 authored by rmarker's avatar rmarker Committed by GitHub
Browse files

[clang-format] Fix AllowShortLambdasOnASingleLine interfering with lambda brace wrapping. (#81848)

Fix an issue where the lambda body left brace could sometimes fail to be
wrapped when AllowShortLambdasOnASingleLine is enabled.

Now, when BraceWrapping.BeforeLambdaBody is enabled, if the brace is not
wrapped, we prevent breaks in the lambda body.

Resolves #81845
parent 44b17679
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment