- User Since
- Mar 18 2018, 10:12 AM (82 w, 2 d)
Aug 20 2019
I update the patch for the last version of clang format, especially since option "AllowShortLambdasOnASingleLine" has been added (which require more change for this patch).
Indeed, for AllowShortLambdasOnASingleLine patch (https://reviews.llvm.org/D57687), the isAllmanBrace() function has been changed (adding TT_LambdaLBrace) which require more test to handle break for lambda body.
Sep 4 2018
Sep 1 2018
Aug 25 2018
do you have time to take a look again to this patch?
Is my last patch ok for you?
Jul 12 2018
Here a new patch, which is very similar to Diff 3. I just remove the extra line parsing which was no necessary since a new tag TT_LambdaLSquare was added.
I'm agree with klimek, path Diff 4 was quite weird and after some test contain an error in the code and unittest (inside the first test I added...)
Jul 3 2018
Jul 2 2018
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 :).
Jun 26 2018
after my last modification (require by previous comment), I do not see any feedback or validation for this patch.
Is their something special to do in order to go forward on this patch?
Apr 28 2018
I upload a new patch with the modifications you proposed.
The option is now enable by default in Allman style. So I move the option to the BraceWrappingFlags struct, which make more sense.
Apr 27 2018
many thank for your comments. I will made the modifications you propose and then update this patch.
Apr 23 2018
Here a project where there is lambda and allman style for them :
Apr 6 2018
I'm not working on a public project with a public style guide, so not sure it will fit all the requirement inside. But perhaps the request of Rian for bareflank (https://bugs.llvm.org//show_bug.cgi?id=32151#c4) could help to fit the needs.
Apr 5 2018
Mar 28 2018
I do not know which reviewer to add for this review. Is it possible to give the name of the person that will be able to review this code ?
Mar 18 2018
I upload the full context for these files.