[llvm-dev] Clang-Format and Lambdas
Mohamed Khaled Mostafa via llvm-dev
llvm-dev at lists.llvm.org
Thu Feb 9 05:59:57 PST 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev