Issue |
131643
|
Summary |
BreakAfterReturnType doesn't work corretly in some cases
|
Labels |
new issue
|
Assignees |
|
Reporter |
illukin
|
Hi!
I'm using `BreakAfterReturnType` option.
In function declaration i don't want to set `param` and want to set just a type. But clang-format doesn't apply correct format in this case. Is it a bug?
Example:
```c++
struct Param {};
int
Foo(Param param); // OK
int Foo(Param); // Not OK
```
clang-format version 21.0.0 (++20250306043342+e4c3d258b7a1-1~exp1~20250306043522.2273)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs