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

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 5 14:11:17 PST 2018

Eugene.Zelenko added inline comments.

Comment at: docs/clang-tidy/checks/bugprone-too-small-loop-variable.rst:10
+  .. code-block:: c++
JonasToth wrote:
> ztamas wrote:
> > JonasToth wrote:
> > > the `.. code-block:: c++` is usually not indended, only the code itself.
> > Hmm, I copied this from somewhere. It might be a good idea to make this consistent across all the *.rst files. See bugprone-suspicious-semicolon.rst or bugprone-use-after-move.rst for example.
> True, but nobody want's to do the documentation work :D
I could try to fix, but I need to be pointed to proper example :-)

  rCTE Clang Tools Extra


More information about the cfe-commits mailing list