[PATCH] D53974: [clang-tidy] new check: bugprone-too-small-loop-variable

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 2 16:07:14 PDT 2018


Eugene.Zelenko added inline comments.


================
Comment at: docs/ReleaseNotes.rst:116
+
+  This check searches for those for loops which has a loop variable with
+  a "too small" type which means this type can't represent all values
----------------
Please avoid This check, may be Detects? Same in documentation.


================
Comment at: docs/ReleaseNotes.rst:116
+
+  This check searches for those `for` loops which has a loop variable with
+  a "too small" type which means this type can't represent all values
----------------
Somehow for is still highlighted with single `, should be ``. Same in documentation.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53974





More information about the cfe-commits mailing list