Issue 56078
Summary clang-format incorrect indent after `AlignConsecutiveAssignments` enabled
Labels
Assignees
Reporter isudfv
    ```
int  abcdefghijk = 111; 
auto lambda      = [] { 
    int c = call(1,     
                      2, <--
                      3, <--
                      4) <--
};                      
```
the align of function params is incorrect if its outside lambda is aligned with `AlignConsecutiveAssignments`.

the code should be
```
int  abcdefghijk = 111;  
auto lambda      = [] {  
    int c = call(1,      
                 2, 
                 3, 
                 4);
};                       
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to