[Development] proposed clang-format improvements for lambda functions
Philippe
philwave at gmail.com
Wed Oct 8 08:40:42 CEST 2025
> i'd like to propose the following improvements to the clang-format:
>
> AllowShortLambdasOnASingleLine: None
I tried that for a few months (for the same reasons as yours).
Then I reverted.
In my experience, it makes the code harder to read more often than
necessary.
Now, when I want to clearly set a breakpoint in a lambda, I just add an
empty comment on the line above, and thats enough.
Philippe
More information about the Development
mailing list