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

via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 1 00:23:05 PST 2026


https://github.com/zeyi2 commented:

> Should V2 produce a warning?

IMO No, because the new suggested fix would not compile: https://clang-tidy.godbolt.org/z/Pcse3sjMh

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


More information about the cfe-commits mailing list