[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 18:58:43 PST 2021


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/readability-variable-length.rst:9
+
+Loop counter variables are expected to have a length of at least
+`MinimumLoopCounterNameLength` characters (default is 2). Additionally, `i`,
----------------
Eugene.Zelenko wrote:
> See other checks documentation as example of options descriptions.
You still need to add `Options` section and mark-up for options. See other checks documentation as example.


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

https://reviews.llvm.org/D97753



More information about the cfe-commits mailing list