[PATCH] D97753: [clang-tidy] Add a check for enforcing minimum length for variable names
Florin Iucha via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 2 19:14:48 PST 2021
0x8000-0000 updated this revision to Diff 327653.
0x8000-0000 marked an inline comment as done.
0x8000-0000 added a comment.
Use regular expression for filtering out loop counter variables to ignore.
Fully document the options.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97753/new/
https://reviews.llvm.org/D97753
Files:
clang-tools-extra/clang-tidy/readability/CMakeLists.txt
clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
clang-tools-extra/clang-tidy/readability/VariableLengthCheck.cpp
clang-tools-extra/clang-tidy/readability/VariableLengthCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/readability-variable-length.rst
clang-tools-extra/test/clang-tidy/checkers/readability-variable-length.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97753.327653.patch
Type: text/x-patch
Size: 12619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210303/945eb9b7/attachment-0001.bin>
More information about the cfe-commits
mailing list