[llvm-commits] CVS: llvm/include/llvm/Constant.h

Misha Brukman brukman at cs.uiuc.edu
Mon Jul 19 14:22:12 PDT 2004



Changes in directory llvm/include/llvm:

Constant.h updated: 1.15 -> 1.16

---
Log message:

Tabs to spaces.


---
Diffs of the changes:  (+3 -4)

Index: llvm/include/llvm/Constant.h
diff -u llvm/include/llvm/Constant.h:1.15 llvm/include/llvm/Constant.h:1.16
--- llvm/include/llvm/Constant.h:1.15	Sun Jul 18 19:58:02 2004
+++ llvm/include/llvm/Constant.h	Mon Jul 19 16:22:02 2004
@@ -21,7 +21,7 @@
 class Constant : public User {
 protected:
   inline Constant(const Type *Ty, ValueTy vty = Value::SimpleConstantVal, 
-	          const std::string& Name = "" ) 
+                  const std::string& Name = "")
   : User(Ty, vty, Name) {}
   ~Constant() {}
 
@@ -48,7 +48,6 @@
   /// destroyConstantImpl as the last thing they do, to destroy all users and
   /// delete this.
   virtual void destroyConstant() { assert(0 && "Not reached!"); }
-
   
   //// Methods for support type inquiry through isa, cast, and dyn_cast:
   static inline bool classof(const Constant *) { return true; }
@@ -57,8 +56,8 @@
     return V->getValueType() == Value::SimpleConstantVal ||
            V->getValueType() == Value::ConstantExprVal ||
            V->getValueType() == Value::ConstantAggregateZeroVal ||
-	   V->getValueType() == Value::FunctionVal ||
-	   V->getValueType() == Value::GlobalVariableVal;
+           V->getValueType() == Value::FunctionVal ||
+           V->getValueType() == Value::GlobalVariableVal;
   }
 
   /// replaceUsesOfWithOnConstant - This method is a special form of





More information about the llvm-commits mailing list