Change range-based for-loops to be -Wrange-loop-analysis clean.

No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Trieu
2015-04-15 01:21:15 +00:00
parent e005d71e4b
commit 64b905a58d
8 changed files with 23 additions and 20 deletions
+1 -1
View File
@@ -887,7 +887,7 @@ void StructurizeCFG::createFlow() {
/// no longer dominate all their uses. Not sure if this is really nessasary
void StructurizeCFG::rebuildSSA() {
SSAUpdater Updater;
for (const auto &BB : ParentRegion->blocks())
for (auto *BB : ParentRegion->blocks())
for (BasicBlock::iterator II = BB->begin(), IE = BB->end();
II != IE; ++II) {