[Analyzer] Fixes -Wrange-loop-analysis warnings
authorMark de Wever <koraq@xs4all.nl>
Sun, 22 Dec 2019 18:13:34 +0000 (19:13 +0100)
committerMark de Wever <koraq@xs4all.nl>
Sun, 22 Dec 2019 18:13:34 +0000 (19:13 +0100)
commitb6d9e976629ac655e0ed2655289e90357107793f
treed59c416986a4c8d4fbb63bcad465bcd61345477b
parent536c9a604e82f0c0284595344b8ab9dd601071cf
[Analyzer] Fixes -Wrange-loop-analysis warnings

This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall.

Differential Revision: https://reviews.llvm.org/D71809
clang/lib/StaticAnalyzer/Checkers/IteratorModeling.cpp
clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp