Mohamed Khaled Mostafa via llvm-dev
2017-Feb-09 13:59 UTC
[llvm-dev] Clang-Format and Lambdas
Hello, Currently, I'm having a problem with clang-format dealing with lambdas. Basically there is no control over lambdas at all. The current configuration that I use specifies that functions should have open and closing brackets on separate lines. Parameters and arguments should be split on separate lines as well. This is all going so well for normal functions. For lambdas, It would be nice to treat them exactly like functions (because they are). Currently there is no defined formatting behaviour for them. It would be nice to add a boolean formatting option to treat lambdas like functions or to add special formatting options for lambdas specifically. Regards, Mostafa. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170209/ac2d7bd5/attachment-0001.html>