[llvm-commits] CVS: llvm/lib/Analysis/InductionVariable.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Jul 23 10:18:01 PDT 2003


Changes in directory llvm/lib/Analysis:

InductionVariable.cpp updated: 1.22 -> 1.23

---
Log message:

Fit code into 80 columns


---
Diffs of the changes:

Index: llvm/lib/Analysis/InductionVariable.cpp
diff -u llvm/lib/Analysis/InductionVariable.cpp:1.22 llvm/lib/Analysis/InductionVariable.cpp:1.23
--- llvm/lib/Analysis/InductionVariable.cpp:1.22	Wed Apr 23 11:36:06 2003
+++ llvm/lib/Analysis/InductionVariable.cpp	Wed Jul 23 10:17:01 2003
@@ -254,14 +254,16 @@
           End = ConstantSInt::get(ubSigned->getType(), ubSigned->getValue()+1);
           DEBUG(std::cerr << "signed int constant\n");
         } else if (ConstantUInt *ubUnsigned = dyn_cast<ConstantUInt>(End)) {
-          End = ConstantUInt::get(ubUnsigned->getType(), ubUnsigned->getValue()+1);
+          End = ConstantUInt::get(ubUnsigned->getType(),
+                                  ubUnsigned->getValue()+1);
           DEBUG(std::cerr << "unsigned int constant\n");
         } else {
           DEBUG(std::cerr << "symbolic bound\n");
           //End = NULL;
           // new expression N+1
           End = BinaryOperator::create(Instruction::Add, End, 
-                                       ConstantUInt::get(ubUnsigned->getType(), 1));
+                                       ConstantUInt::get(ubUnsigned->getType(),
+                                                         1));
         }
         break;
       }





More information about the llvm-commits mailing list