christophe-calmejane added a comment. Hi,
consider the following code myFunc([](int x) { if (x) call(); }); When activating your BeforeLambdaBody option, it changes the code to this (breaking the start of the lambda to a new line) myFunc( [](int x) { if (x) call(); }); Another issue if I declare the lambda as noexcept, clang-format changes the code to this (looks like it's not detecting and applying your option): myFunc([](int x) noexcept { if (x) call(); }); Repository: rC Clang https://reviews.llvm.org/D44609 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits