I have a piece of code that started at:
objectName += [&](const std::string& varName) { funcName(varName); };
With the clang-format setting (clang-format 14) for LambdaBodyIndentation set to Signature, and the AllowShortLambdasOnASingleLine set None, this gets reformatted to:
objectName += [&](const std::string& varName)
{
funcName(varName);
};
I assumed that the Signature
setting would make it more like:
objectName += [&](const std::string& varName)
{
funcName(varName);
};
Can anyone tell me if there’s a setting I’m missing that would make it look like the latter?
Thanks