Convert tabs to spaces
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 22 Apr 2005 03:18:56 +0000 (03:18 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 22 Apr 2005 03:18:56 +0000 (03:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21433 91177308-0d34-0410-b5e6-96231b3b80d8

examples/BFtoLLVM/BFtoLLVM.cpp
include/llvm/AbstractTypeUser.h
include/llvm/GlobalVariable.h
include/llvm/InstrTypes.h
include/llvm/IntrinsicInst.h

index 159d0b619d8711fd07cc0423e9f1691f026a8155..35acd57e72ec6853ab1ac8f9098283746ac033cd 100644 (file)
@@ -58,8 +58,8 @@ std::string gensym (const std::string varName, bool percent = true) {
 
 void emitArith (std::string op, char delta, std::ofstream &dest) {
   std::string ptr = gensym (op + "ptr"),
 
 void emitArith (std::string op, char delta, std::ofstream &dest) {
   std::string ptr = gensym (op + "ptr"),
-             val = gensym (op + "val"),
-             result = gensym (op + "result");
+              val = gensym (op + "val"),
+              result = gensym (op + "result");
   dest << ptr << " = load sbyte** %ptrbox\n"
        << val << " = load sbyte* " << ptr << "\n"
        << result << " = add sbyte " << val << ", " << (int)delta << "\n"
   dest << ptr << " = load sbyte** %ptrbox\n"
        << val << " = load sbyte* " << ptr << "\n"
        << result << " = add sbyte " << val << ", " << (int)delta << "\n"
index de9565f723aa6191d7928cdebe551d8e806d3af0..9e96a99af0be0c83692d7d4f16f26e230271b79a 100644 (file)
@@ -52,7 +52,7 @@ public:
   /// its internal state to reference NewType instead of OldType.
   ///
   virtual void refineAbstractType(const DerivedType *OldTy,
   /// its internal state to reference NewType instead of OldType.
   ///
   virtual void refineAbstractType(const DerivedType *OldTy,
-                                 const Type *NewTy) = 0;
+                                  const Type *NewTy) = 0;
 
   /// The other case which AbstractTypeUsers must be aware of is when a type
   /// makes the transition from being abstract (where it has clients on it's
 
   /// The other case which AbstractTypeUsers must be aware of is when a type
   /// makes the transition from being abstract (where it has clients on it's
index f8b22e4fdad97064af4bafc8628d92274108179c..db7a5200e2cd23fb6696de18369372021a3a10c0 100644 (file)
@@ -48,7 +48,7 @@ public:
   /// automatically inserted into the end of the specified modules global list.
   ///
   GlobalVariable(const Type *Ty, bool isConstant, LinkageTypes Linkage,
   /// automatically inserted into the end of the specified modules global list.
   ///
   GlobalVariable(const Type *Ty, bool isConstant, LinkageTypes Linkage,
-                Constant *Initializer = 0, const std::string &Name = "",
+                 Constant *Initializer = 0, const std::string &Name = "",
                  Module *Parent = 0);
 
   /// isExternal - Is this global variable lacking an initializer?  If so, the
                  Module *Parent = 0);
 
   /// isExternal - Is this global variable lacking an initializer?  If so, the
index b79adf3ac6a455ce0a4995096fc3cc6504008ca0..1c4a8ef868f7115303329cfbade5b31a5bcbaf9e 100644 (file)
@@ -151,7 +151,7 @@ public:
   /// Instruction is allowed to be a dereferenced end iterator.
   ///
   static BinaryOperator *create(BinaryOps Op, Value *S1, Value *S2,
   /// Instruction is allowed to be a dereferenced end iterator.
   ///
   static BinaryOperator *create(BinaryOps Op, Value *S1, Value *S2,
-                               const std::string &Name = "",
+                                const std::string &Name = "",
                                 Instruction *InsertBefore = 0);
 
   /// create() - Construct a binary instruction, given the opcode and the two
                                 Instruction *InsertBefore = 0);
 
   /// create() - Construct a binary instruction, given the opcode and the two
@@ -159,7 +159,7 @@ public:
   /// BasicBlock specified.
   ///
   static BinaryOperator *create(BinaryOps Op, Value *S1, Value *S2,
   /// BasicBlock specified.
   ///
   static BinaryOperator *create(BinaryOps Op, Value *S1, Value *S2,
-                               const std::string &Name,
+                                const std::string &Name,
                                 BasicBlock *InsertAtEnd);
 
   /// create* - These methods just forward to create, and are useful when you
                                 BasicBlock *InsertAtEnd);
 
   /// create* - These methods just forward to create, and are useful when you
index 245cbfb08c400304cb2747462483aadecd608d28..2b26ad52154cca40b331d7b4ac558ab03cc306bd 100644 (file)
@@ -53,11 +53,11 @@ namespace llvm {
     static inline bool classof(const CallInst *I) {
       if (const Function *CF = I->getCalledFunction())
         switch (CF->getIntrinsicID()) {
     static inline bool classof(const CallInst *I) {
       if (const Function *CF = I->getCalledFunction())
         switch (CF->getIntrinsicID()) {
-       case Intrinsic::dbg_stoppoint:
-       case Intrinsic::dbg_region_start:
-       case Intrinsic::dbg_region_end:
-       case Intrinsic::dbg_func_start:
-       case Intrinsic::dbg_declare:
+        case Intrinsic::dbg_stoppoint:
+        case Intrinsic::dbg_region_start:
+        case Intrinsic::dbg_region_end:
+        case Intrinsic::dbg_func_start:
+        case Intrinsic::dbg_declare:
           return true;
         default: break;
         }
           return true;
         default: break;
         }