[clang-tools-extra] [clang-tidy] Fix false positive for generic lambda parameters in readability-non-const-parameter (PR #179051)

Aditya Singh via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 14 19:59:28 PST 2026


================
@@ -216,7 +216,8 @@ Changes in existing checks
 
 - Improved :doc:`readability-non-const-parameter
   <clang-tidy/checks/readability/non-const-parameter>` check by avoiding false
-  positives on parameters used in dependent expressions.
+  positives for pointer parameters in generic lambdas (C++20 lambdas with
----------------
Aditya26189 wrote:

added

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


More information about the cfe-commits mailing list