Clang-Format and Lambdas


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.