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

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 6 00:49:19 PST 2024


================
@@ -295,6 +295,11 @@ Changes in existing checks
   coroutine functions and increase issue detection for cases involving type
   aliases with references.
 
+- Improved :doc:`cppcoreguidelines-missing-std-forward
+  <clang-tidy/checks/cppcoreguidelines/missing-std-forward>` check to
+  provide fixes of false positive that forwarded in capture list and body of
+  lambda.
+
----------------
PiotrZSL wrote:

Change to:
```
- Improved :doc:`cppcoreguidelines-missing-std-forward
  <clang-tidy/checks/cppcoreguidelines/missing-std-forward>` check to
  address false positives in the capture list and body of lambdas.
```


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


More information about the cfe-commits mailing list