[PATCH] D145856: [clang-tidy] Let misc-const-correctness detect auto local variables that can be made const

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 12 00:21:05 PST 2023


PiotrZSL requested changes to this revision.
PiotrZSL added a comment.
This revision now requires changes to proceed.

- Failed tests
- Missing tests for this change
- Missing configuration option for this change (changing default behavior)
- Missing release notes
- Missing documentation update
- auto& , auto&&, auto* still wont be ignored (that's also auto type).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145856/new/

https://reviews.llvm.org/D145856



More information about the cfe-commits mailing list