[clang] [clang-format] Fix BeforeLambdaBody causing incorrect argument wrapping (PR #182319)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 19 12:18:54 PST 2026


================
@@ -24325,6 +24325,64 @@ TEST_F(FormatTest, FormatsLambdas) {
                "  })));\n"
                "}",
                Style);
+
+  // Verify that BeforeLambdaBody does not cause arguments before the lambda to
----------------
HazardyKnusperkeks wrote:

I think you can drop most of your comments here.

https://github.com/llvm/llvm-project/pull/182319


More information about the cfe-commits mailing list