Issue |
108727
|
Summary |
Formatting does not work in the if statement in the λ _expression_ to the right of the assignment statement
|
Labels |
|
Assignees |
|
Reporter |
Silver-Fang
|
This issue is redirected from [vscode-cpptools](https://github.com/microsoft/vscode-cpptools/issues/12382)
```C++
std::function<void()> A;
std::function<void()> *B;
B = &(A = [&B]()
{ if(B)B=nullptr; });
```
Formatting should add spaces to B=nullptr in the last line. But in fact, spaces are not added after formatting:

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs