Re: [Development] proposed clang-format improvements for lambda functions

2025-10-11 Thread Tim Blechmann via Development
AllowShortLambdasOnASingleLine: None LambdaBodyIndentation: OuterScope rationale: * single-line lambda functions are harmful, as one cannot set different breakpoints for construction and invocation of the lambda function. * indent lambda bodies at the outer scope, so that the indentation reflects

Re: [Development] proposed clang-format improvements for lambda functions

2025-10-09 Thread Tim Blechmann via Development
>> I kind of like single-line lambdas, but I understand not doing them for >> breakpoint purposes. Still, we may want them for simple parameters. That's a >> stylistic choice. + 1 who also likes single-line lambdas that are doing a simple job (e.g., returning a constant value or further cal