[clang] [clang-format] Add options to control wrapped lambda brace indent. (PR #143249)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 7 05:11:42 PDT 2025


================
@@ -1547,6 +1547,38 @@ struct FormatStyle {
     bool BeforeWhile;
     /// Indent the wrapped braces themselves.
     bool IndentBraces;
+    /// Indent nested wrapped lambda braces.
----------------
HazardyKnusperkeks wrote:

I think a better name is in order, when reading nested lambda, I thought of a lambda within a lambda.

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


More information about the cfe-commits mailing list