summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-04-22 03:18:56 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-04-22 03:18:56 +0000
commit59f6449cff14d7edac319d4eab4b52b8bd858e92 (patch)
tree9c695fb7ee52dd8d625daef0ec0e98b9bdbff1f3
parent672c11b41fe66f96a3f3c6b16f839c1edf66a384 (diff)
downloadllvm-59f6449cff14d7edac319d4eab4b52b8bd858e92.tar.gz
llvm-59f6449cff14d7edac319d4eab4b52b8bd858e92.tar.bz2
llvm-59f6449cff14d7edac319d4eab4b52b8bd858e92.tar.xz
Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21433 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--examples/BFtoLLVM/BFtoLLVM.cpp4
-rw-r--r--include/llvm/AbstractTypeUser.h2
-rw-r--r--include/llvm/GlobalVariable.h2
-rw-r--r--include/llvm/InstrTypes.h4
-rw-r--r--include/llvm/IntrinsicInst.h10
5 files changed, 11 insertions, 11 deletions
diff --git a/examples/BFtoLLVM/BFtoLLVM.cpp b/examples/BFtoLLVM/BFtoLLVM.cpp
index 159d0b619d..35acd57e72 100644
--- a/examples/BFtoLLVM/BFtoLLVM.cpp
+++ b/examples/BFtoLLVM/BFtoLLVM.cpp
@@ -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"),
- 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"
diff --git a/include/llvm/AbstractTypeUser.h b/include/llvm/AbstractTypeUser.h
index de9565f723..9e96a99af0 100644
--- a/include/llvm/AbstractTypeUser.h
+++ b/include/llvm/AbstractTypeUser.h
@@ -52,7 +52,7 @@ public:
/// 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
diff --git a/include/llvm/GlobalVariable.h b/include/llvm/GlobalVariable.h
index f8b22e4fda..db7a5200e2 100644
--- a/include/llvm/GlobalVariable.h
+++ b/include/llvm/GlobalVariable.h
@@ -48,7 +48,7 @@ public:
/// 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
diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h
index b79adf3ac6..1c4a8ef868 100644
--- a/include/llvm/InstrTypes.h
+++ b/include/llvm/InstrTypes.h
@@ -151,7 +151,7 @@ public:
/// 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
@@ -159,7 +159,7 @@ public:
/// 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
diff --git a/include/llvm/IntrinsicInst.h b/include/llvm/IntrinsicInst.h
index 245cbfb08c..2b26ad5215 100644
--- a/include/llvm/IntrinsicInst.h
+++ b/include/llvm/IntrinsicInst.h
@@ -53,11 +53,11 @@ namespace llvm {
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;
}