================ @@ -22537,10 +22537,12 @@ TEST_F(FormatTest, FormatsLambdas) { " }\n" "}", Style); - verifyFormat("std::sort(v.begin(), v.end(),\n" - " [](const auto &foo, const auto &bar) {\n" - " return foo.baz < bar.baz;\n" - "});", + verifyFormat("void test() {\n" ---------------- jp4a50 wrote:
I've answered the equivalent question here: https://github.com/llvm/llvm-project/pull/66755#discussion_r1331456960 https://github.com/llvm/llvm-project/pull/66755 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits