Issue 64618
Summary add check which generates parameter comment fix-its in calls with easily swappable parameters
Labels new issue
Assignees
Reporter firewave
    Similar to `bugprone-easily-swappable-parameters` but to help with the call site in case the API cannot be changed.

```cpp
void cb(int in, int out, int swap);

void f()
{
    cb(0, 1, 0);
    cb(/*in*/ 0, /*out*/ 1, /*swap*/ 0);
}
```

Some IDEs offers that information as inline hints.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to