Open
Description
There is behaviour to minimise the hanging indent with lambdas by moving them to a new line.
However, this can inadvertently increase the amount of hanging indent in particular circumstances.
For example, the following code with -style="{BreakBeforeBraces: Allman, AllowShortLambdasOnASingleLine: false, ContinuationIndentWidth: 8}"
if (
[]()
{
return true;
}())
{
}
fun(
[]()
{
return 17;
});
Expected:
if ([]()
{
return true;
}())
{
}
fun([]()
{
return 17;
});