From: Dan Gohman Date: Mon, 22 Feb 2010 04:04:24 +0000 (+0000) Subject: Rename a variable to avoid a -Wshadow warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=31a95c524c82e36867761404d902b94f7afc695e;p=oota-llvm.git Rename a variable to avoid a -Wshadow warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96776 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index d5e4d51f7e7..f792a7fae3e 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -835,7 +835,7 @@ public: } 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