[clang-tools-extra] [clang-tidy] make `misc-const-correctness` work with `auto` variables and lambdas (PR #157319)
Marcus Leivo via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 3 04:30:56 PST 2025
macleivo wrote:
As a clang-tidy user who uses this warning, enabling the check for variables declared as `auto` would be a huge improvement. I don't mind if I have to manually enable it for `auto` or if it is enabled by default as long as `auto` variables can somehow be checked too. I hope to see this merged ASAP.
https://github.com/llvm/llvm-project/pull/157319
More information about the cfe-commits
mailing list