[clang-tools-extra] Allow unnecessary-value-param to match templated functions including lambdas with auto. (PR #97767)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 8 10:06:15 PDT 2024


================
@@ -483,6 +483,12 @@ Changes in existing checks
   usages of ``std::string_view::compare``. Added a `StringLikeClasses` option
   to detect usages of ``compare`` method in custom string-like classes.
 
+- Improved :doc:`unnecessary-value-param
----------------
PiotrZSL wrote:

```suggestion
- Improved :doc:`performance-unnecessary-value-param
```

also put it in line 420

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


More information about the cfe-commits mailing list