You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This behaviour was caused by commit 5528cac ([clang-format] tweaked another case of lambda formatting). Reverting this commit makes the testcases from this PR pass.
The mentioned commit introduced an aggressive way of breaking lines when lambda is not the last arguments.
Extended Description
clang-format is unable to correctly format code like this:
It will format it into:
Shortest example code that reproduces it:
The clang-format invocation can be the simplest possible. Just "clang-format test.cpp" without any .clang-format input file and no arguments.
The text was updated successfully, but these errors were encountered: