This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall.
It seems my previous build didn't enable all targets so this should really be the last patch of the series.
Differential D72210
[NFC] Fixes -Wrange-loop-analysis warnings Mordante on Jan 4 2020, 11:27 AM. Authored by
Details This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall. It seems my previous build didn't enable all targets so this should really be the last patch of the series.
Diff Detail
Event TimelineComment Actions You can drop changes to lld. I've fixed lld -Wrange-loop-analysis a few days ago in 681b1be774964a804beabfb7c5e3bdab8f979e4a . (Archive::Child c was also deleted). For mlir, only mlir/lib/Dialect/Linalg/Utils/Utils.cpp:117:8 needs a fix. I've fixed others in eeef50b1fee91dbe993187324003d2665ceae331.
|
auto -> BasicBlock