[PATCH] D37980: [clang-format] Better parsing of lambda captures with initializer expressions.

Manuel Klimek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 19 03:02:48 PDT 2017


klimek added a comment.

Thanks for the patch and the discussion around this. I fixed this in r313622 in what I think is a more principled approach that also works for nested lambdas (and gets rid of a lot of now-obsolete code).
The big problem with this code was that it evolved a bit to the point where we were able to generalize it, but we never did. Let me know if you find any problems with the aforementioned change.


https://reviews.llvm.org/D37980





More information about the cfe-commits mailing list