summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
diff options
context:
space:
mode:
authorAdam Balogh <adam.balogh@ericsson.com>2020-01-23 15:13:30 +0100
committerHans Wennborg <hans@chromium.org>2020-01-29 21:59:00 +0100
commitd275de35f8bdb92e7b5789ebdb96df99fab504ab (patch)
treee928fe4764c15e330738d11adc322698728fc10d /llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
parentd18ccb8b3310867c179f22704b6397e83981fff7 (diff)
downloadbcm5719-llvm-d275de35f8bdb92e7b5789ebdb96df99fab504ab.tar.gz
bcm5719-llvm-d275de35f8bdb92e7b5789ebdb96df99fab504ab.zip
[clan-tidy] Fix false positive in bugprone-infinite-loop
The checker bugprone-infinite-loop does not track changes of variables in the initialization expression of a variable declared inside the condition of the while statement. This leads to false positives, similarly to the one in the bug report https://bugs.llvm.org/show_bug.cgi?id=44618. This patch fixes this issue by enabling tracking of the variables of this expression as well. Differential Revision: https://reviews.llvm.org/D73270 (cherry picked from commit 70f4c6e7b14f225f9628fbdab3620ce037613351)
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud