Issue 104873
Summary `AlignAfterOpenBracket: BlockIndent` does not respect `BinPackParameters: false`
Labels new issue
Assignees
Reporter akbyrd
    Config
```
ColumnLimit: 30
AlignAfterOpenBracket: BlockIndent
BinPackParameters: false
```
Input
```
void f1_____(int token, float context) {
}

auto f2 = [](int token, float context) {
};
```
Actual Output
```
void f1_____(
    int token, float context
) {}

auto f2 = [](int token,
             float context) {
};
```
Expected Output
```
void f1_____(
    int token,
    float context
) {}

auto f2 = [](
    int token,
    float context
) {};
```

Notice the parameters to `f1` are not on separate lines as they should be based on `BinPackParameters: false`. For comparison, parameters are on separate lines as expected with `AlignAfterOpenBracket: BlockIndent`. The only difference between those two should be the placement of the closing paren.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to