[clang-tools-extra] [clang-tidy] fix false negative in cppcoreguidelines-missing-std-forward (PR #83987)

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 05:32:26 PST 2024


================
@@ -156,7 +156,8 @@ Changes in existing checks
 
 - Improved :doc:`cppcoreguidelines-missing-std-forward
   <clang-tidy/checks/cppcoreguidelines/missing-std-forward>` check by no longer
-  giving false positives for deleted functions.
+  giving false positives for deleted functions and fix false negative when one
+  parameter is forwarded, but some other parameter isn't.
----------------
HerrCai0907 wrote:

```suggestion
  giving false positives for deleted functions and fix false negative when some
  parameters are forwarded, but other aren't.
```

https://github.com/llvm/llvm-project/pull/83987


More information about the cfe-commits mailing list