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

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 7 17:09:41 PST 2026


================
@@ -201,7 +201,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 on parameters used in template-dependent expressions, including
----------------
zwuis wrote:

What is "template-dependent"?

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


More information about the cfe-commits mailing list