From: Hal Finkel Date: Sun, 15 Feb 2015 15:45:30 +0000 (+0000) Subject: [ADCE] Fix capitalization of another local variable X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13f4dc0217c38bc35f83149ad61d8d90d5ad8baf;p=llvm [ADCE] Fix capitalization of another local variable Bring another local variable in compliance with our naming conventions, NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229316 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp index ffab8d5801c..4a003217f93 100644 --- a/lib/Transforms/Scalar/ADCE.cpp +++ b/lib/Transforms/Scalar/ADCE.cpp @@ -69,8 +69,8 @@ bool ADCE::runOnFunction(Function& F) { // Propagate liveness backwards to operands. while (!Worklist.empty()) { - Instruction* curr = Worklist.pop_back_val(); - for (Instruction::op_iterator OI = curr->op_begin(), OE = curr->op_end(); + Instruction* Curr = Worklist.pop_back_val(); + for (Instruction::op_iterator OI = Curr->op_begin(), OE = Curr->op_end(); OI != OE; ++OI) if (Instruction* Inst = dyn_cast(OI)) if (Alive.insert(Inst).second)