[llvm] r261600 - Follow up for r261597: Add the * to the auto.
Michael Zolotukhin via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 22 16:57:48 PST 2016
Author: mzolotukhin
Date: Mon Feb 22 18:57:48 2016
New Revision: 261600
URL: http://llvm.org/viewvc/llvm-project?rev=261600&view=rev
Log:
Follow up for r261597: Add the * to the auto.
Modified:
llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp
Modified: llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp?rev=261600&r1=261599&r2=261600&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp Mon Feb 22 18:57:48 2016
@@ -112,7 +112,7 @@ FoldBlockIntoPredecessor(BasicBlock *BB,
if (DomTreeNode *DTN = DT->getNode(BB)) {
DomTreeNode *PredDTN = DT->getNode(OnlyPred);
SmallVector<DomTreeNode *, 8> Children(DTN->begin(), DTN->end());
- for (auto DI : Children)
+ for (auto *DI : Children)
DT->changeImmediateDominator(DI, PredDTN);
DT->eraseNode(BB);
More information about the llvm-commits
mailing list