[clang-tidy] Fix for commits rL372706 and rL372711
authorAdam Balogh <adam.balogh@ericsson.com>
Wed, 2 Oct 2019 07:14:11 +0000 (07:14 +0000)
committerAdam Balogh <adam.balogh@ericsson.com>
Wed, 2 Oct 2019 07:14:11 +0000 (07:14 +0000)
commit1c57143742b1deab32ac96cfd24c6b9dc9868a21
treea5eb306758108b5e3f31d73996ac2782912ef3af
parent2ef18fb41aeb0e71744fd3e97cf25da49bdf6b64
[clang-tidy] Fix for commits rL372706 and rL372711

The patch committed was not the accepted version but the
previous one. This commit fixes this issue.

Differential Revision: https://reviews.llvm.org/D64736

llvm-svn: 373428
clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp
clang-tools-extra/docs/clang-tidy/checks/bugprone-infinite-loop.rst
clang-tools-extra/test/clang-tidy/bugprone-infinite-loop.cpp