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

Tamás Zolnai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 11 08:36:24 PST 2018

ztamas added a comment.

>> Also found some new false positives related to macros. The number of all false positives is around 38, which is still seems good to me.
> I would be very interested why these false positives are created. Is there a way to avoid them and maybe it makes sense to already add `FIXME` at the possible places the check needs improvements.

voidForLoopFalsePositive() and voidForLoopFalsePositive2() test cases covers most of the false positives found in LibreOffice.

  rCTE Clang Tools Extra


More information about the cfe-commits mailing list