Issue |
143248
|
Summary |
[clang-format] More control of wrapped lambda brace indentation
|
Labels |
clang-format
|
Assignees |
|
Reporter |
rmarker
|
Recently, in #135479, the `IndentBraces` option was extended to apply to wrapped lambda braces.
It would be good to be able to control the indentation separately from the other braces to be able to maintain the previous behaviour.
Also, in my ever continuing quest to convince the various projects at work to adopt clang-format, it would be helpful to be able to independently control this indentation for nested and unnested lambdas.
For example:
```cpp
auto foo = [] ()
{
return true;
};
function(
[] ()
{
return true;
});
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs