[ADCE] Fix formatting of pointer types
authorHal Finkel <hfinkel@anl.gov>
Sun, 15 Feb 2015 15:47:52 +0000 (15:47 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sun, 15 Feb 2015 15:47:52 +0000 (15:47 +0000)
We prefer to put the * with the variable, not with the type; NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229317 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/ADCE.cpp

index 4a003217f93d7be68a28b37c623a63de3d08042a..06a4dd975b14535d13505bc74cc1dd0443efa9bd 100644 (file)
@@ -69,10 +69,10 @@ bool ADCE::runOnFunction(Function& F) {
 
   // Propagate liveness backwards to operands.
   while (!Worklist.empty()) {
-    InstructionCurr = Worklist.pop_back_val();
+    Instruction *Curr = Worklist.pop_back_val();
     for (Instruction::op_iterator OI = Curr->op_begin(), OE = Curr->op_end();
          OI != OE; ++OI)
-      if (InstructionInst = dyn_cast<Instruction>(OI))
+      if (Instruction *Inst = dyn_cast<Instruction>(OI))
         if (Alive.insert(Inst).second)
           Worklist.push_back(Inst);
   }