[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 16:18:59 PDT 2023
PiotrZSL added a comment.
Tests:
./clang-tools-extra/test/clang-tidy/checkers/misc/const-correctness-transform-values.cpp
./clang-tools-extra/test/clang-tidy/checkers/misc/const-correctness-cxx17.cpp
./clang-tools-extra/test/clang-tidy/checkers/misc/const-correctness-templates.cpp
./clang-tools-extra/test/clang-tidy/checkers/misc/const-correctness-transform-pointer-as-values.cpp
./clang-tools-extra/test/clang-tidy/checkers/misc/const-correctness-unaligned.cpp
./clang-tools-extra/test/clang-tidy/checkers/misc/const-correctness-pointer-as-values.cpp
./clang-tools-extra/test/clang-tidy/checkers/misc/const-correctness-values.cpp
./clang-tools-extra/test/clang-tidy/checkers/misc/const-correctness-wrong-config.cpp
Documentation:
./clang-tools-extra/docs/clang-tidy/checks/misc/const-correctness.rst
Release notes:
./clang-tools-extra/docs/ReleaseNotes.rst
For things like options, look how other checks do that.
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