[PATCH] D97753: [clang-tidy] Add a check for enforcing minimum length for variable names
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 2 19:17:17 PST 2021
Eugene.Zelenko added inline comments.
================
Comment at: clang-tools-extra/docs/clang-tidy/checks/readability-variable-length.rst:21
+
+ Loop counter variables are expected to have a length of at least
+ `MinimumLoopCounterNameLength` characters (default is `2`).
----------------
It'll be good idea to use 2 symbols indention, like in code. Same in other places.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97753/new/
https://reviews.llvm.org/D97753
More information about the cfe-commits
mailing list