[PATCH] D44609: [Clang-Format] New option BreakBeforeLambdaBody to manage lambda line break inside function parameter call
Francois JEAN via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 2 15:35:49 PDT 2018
Wawha updated this revision to Diff 153813.
Wawha added a comment.
Here the third version to manage break with lambda in Allman.
I implement the modification propose by klimek.
If a lambda is detected, the BlockParameterCount and ParameterCount are increment one more time in order to avoid extra line parsing after. It's lead to less code and less computation time, so I prefer this modification too.
Thank to klimek for this great remark :).
I hope that the patch is now ok for a submission. If there is other needs or remarks, tell me.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10121 bytes
Desc: not available
More information about the cfe-commits