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.
Paths
| Differential D72210
[NFC] Fixes -Wrange-loop-analysis warnings ClosedPublic Authored by Mordante on Jan 4 2020, 11:27 AM.
Details Summary 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. Comment Actions
Thanks for fixing those! This revision is now accepted and ready to land.Jan 5 2020, 12:42 PM Closed by commit rG1d549cff48cd: [NFC] Fixes -Wrange-loop-analysis warnings (authored by Mordante). · Explain WhyJan 6 2020, 8:38 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 236192 lld/COFF/InputFiles.cpp
lld/ELF/Driver.cpp
lld/ELF/Relocations.cpp
lld/ELF/SyntheticSections.cpp
lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
lld/wasm/Driver.cpp
mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
mlir/lib/Dialect/Traits.cpp
mlir/lib/Dialect/VectorOps/VectorOps.cpp
mlir/lib/IR/TypeUtilities.cpp
mlir/lib/Parser/Parser.cpp
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
mlir/tools/mlir-tblgen/StructsGen.cpp
polly/lib/Analysis/ScopGraphPrinter.cpp
|
auto -> BasicBlock