aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/SmallVector.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-17 21:23:46 +0000
committerChris Lattner <sabre@nondot.org>2009-12-17 21:23:46 +0000
commitb63bb1615b44bc9e18dec68660d33c04401987b6 (patch)
tree721ae695aa0a011a6755d01edef766abe574156a /include/llvm/ADT/SmallVector.h
parent0c826d98b39e941fad96ffaf32c23d3fae447a19 (diff)
downloadexternal_llvm-b63bb1615b44bc9e18dec68660d33c04401987b6.zip
external_llvm-b63bb1615b44bc9e18dec68660d33c04401987b6.tar.gz
external_llvm-b63bb1615b44bc9e18dec68660d33c04401987b6.tar.bz2
tabs -> spaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/SmallVector.h')
-rw-r--r--include/llvm/ADT/SmallVector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/ADT/SmallVector.h b/include/llvm/ADT/SmallVector.h
index 61c3b1b..89acefd 100644
--- a/include/llvm/ADT/SmallVector.h
+++ b/include/llvm/ADT/SmallVector.h
@@ -495,15 +495,15 @@ public:
// Copy over the elements that we're about to overwrite.
T *OldEnd = this->end();
- this->setEnd(this->end() + NumToInsert);
+ this->setEnd(this->end() + NumToInsert);
size_t NumOverwritten = OldEnd-I;
- this->uninitialized_copy(I, OldEnd, this->end()-NumOverwritten);
+ this->uninitialized_copy(I, OldEnd, this->end()-NumOverwritten);
// Replace the overwritten part.
std::copy(From, From+NumOverwritten, I);
// Insert the non-overwritten middle part.
- this->uninitialized_copy(From+NumOverwritten, To, OldEnd);
+ this->uninitialized_copy(From+NumOverwritten, To, OldEnd);
return I;
}