[llvm-commits] [llvm] r96776 - /llvm/trunk/include/llvm/Analysis/LoopInfo.h

Dan Gohman gohman at apple.com
Sun Feb 21 20:04:24 PST 2010


Author: djg
Date: Sun Feb 21 22:04:24 2010
New Revision: 96776

URL: http://llvm.org/viewvc/llvm-project?rev=96776&view=rev
Log:
Rename a variable to avoid a -Wshadow warning.

Modified:
    llvm/trunk/include/llvm/Analysis/LoopInfo.h

Modified: llvm/trunk/include/llvm/Analysis/LoopInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopInfo.h?rev=96776&r1=96775&r2=96776&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/LoopInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/LoopInfo.h Sun Feb 21 22:04:24 2010
@@ -835,7 +835,7 @@
             } else if (BlockLoop != Child) {
               LoopT *SubLoop = BlockLoop;
               // Reparent all of the blocks which used to belong to BlockLoops
-              for (unsigned j = 0, e = SubLoop->Blocks.size(); j != e; ++j)
+              for (unsigned j = 0, f = SubLoop->Blocks.size(); j != f; ++j)
                 ContainingLoops[SubLoop->Blocks[j]] = Child;
 
               // There is already a loop which contains this block, that means





More information about the llvm-commits mailing list