[llvm-commits] [llvm] r50810 - /llvm/branches/ggreif/use-diet/include/llvm/Instructions.h
Gabor Greif
ggreif at gmail.com
Wed May 7 04:59:46 PDT 2008
Author: ggreif
Date: Wed May 7 06:59:14 2008
New Revision: 50810
URL: http://llvm.org/viewvc/llvm-project?rev=50810&view=rev
Log:
fix indentation
Modified:
llvm/branches/ggreif/use-diet/include/llvm/Instructions.h
Modified: llvm/branches/ggreif/use-diet/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/use-diet/include/llvm/Instructions.h?rev=50810&r1=50809&r2=50810&view=diff
==============================================================================
--- llvm/branches/ggreif/use-diet/include/llvm/Instructions.h (original)
+++ llvm/branches/ggreif/use-diet/include/llvm/Instructions.h Wed May 7 06:59:14 2008
@@ -465,7 +465,7 @@
typename std::iterator_traits<InputIterator>::difference_type Values =
1 + std::distance(IdxBegin, IdxEnd);
return new(Values)
- GetElementPtrInst(Ptr, IdxBegin, IdxEnd, Values, Name, InsertBefore);
+ GetElementPtrInst(Ptr, IdxBegin, IdxEnd, Values, Name, InsertBefore);
}
template<typename InputIterator>
static GetElementPtrInst *Create(Value *Ptr,
@@ -475,7 +475,7 @@
typename std::iterator_traits<InputIterator>::difference_type Values =
1 + std::distance(IdxBegin, IdxEnd);
return new(Values)
- GetElementPtrInst(Ptr, IdxBegin, IdxEnd, Values, Name, InsertAtEnd);
+ GetElementPtrInst(Ptr, IdxBegin, IdxEnd, Values, Name, InsertAtEnd);
}
/// Constructors - These two creators are convenience methods because one
@@ -574,8 +574,8 @@
const std::string &Name,
Instruction *InsertBefore)
: Instruction(PointerType::get(checkType(
- getIndexedType(Ptr->getType(),
- IdxBegin, IdxEnd, true)),
+ getIndexedType(Ptr->getType(),
+ IdxBegin, IdxEnd, true)),
cast<PointerType>(Ptr->getType())
->getAddressSpace()),
GetElementPtr,
@@ -591,10 +591,9 @@
unsigned Values,
const std::string &Name,
BasicBlock *InsertAtEnd)
- : Instruction(PointerType::get(
- checkType(
- getIndexedType(Ptr->getType(),
- IdxBegin, IdxEnd, true)),
+ : Instruction(PointerType::get(checkType(
+ getIndexedType(Ptr->getType(),
+ IdxBegin, IdxEnd, true)),
cast<PointerType>(Ptr->getType())
->getAddressSpace()),
GetElementPtr,
@@ -964,14 +963,14 @@
const std::string &Name = "",
Instruction *InsertBefore = 0) {
return new(ArgEnd - ArgBegin + 1)
- CallInst(Func, ArgBegin, ArgEnd, Name, InsertBefore);
+ CallInst(Func, ArgBegin, ArgEnd, Name, InsertBefore);
}
template<typename InputIterator>
static CallInst *Create(Value *Func,
InputIterator ArgBegin, InputIterator ArgEnd,
const std::string &Name, BasicBlock *InsertAtEnd) {
return new(ArgEnd - ArgBegin + 1)
- CallInst(Func, ArgBegin, ArgEnd, Name, InsertAtEnd);
+ CallInst(Func, ArgBegin, ArgEnd, Name, InsertAtEnd);
}
static CallInst *Create(Value *F, Value *Actual, const std::string& Name = "",
Instruction *InsertBefore = 0) {
More information about the llvm-commits
mailing list