Issue 87697
Summary `cppcoreguidelines-missing-std-forward` should be ignored for unused input arguments
Labels new issue
Assignees
Reporter vawale
    Check `cppcoreguidelines-missing-std-forward` fails for following code snippet:

```cpp
template<typename F>
auto BaseCase(F&& /*unused*/) {}
```

Godbolt link: https://godbolt.org/z/Pv9erhcxa

It would help if the check is ignored for unused/unnamed input arguments. 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to