================
@@ -1547,6 +1547,38 @@ struct FormatStyle {
bool BeforeWhile;
/// Indent the wrapped braces themselves.
bool IndentBraces;
+ /// Indent nested wrapped lambda braces.
----------------
rmarker wrote:
I had an idea about the name.
When looking again at the projects at work that needed the nested/unnested
distinction, I saw that only indenting the unnested version was required.
Confusion could be eliminated by switching to an enum for `IndentLambdaBraces`
with `None`, `All` and `TopLevel`.
https://github.com/llvm/llvm-project/pull/143249
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits