From: Rui Ueyama Date: Tue, 22 Apr 2014 19:52:05 +0000 (+0000) Subject: Whitespace X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=44fa7c35ee64fbfb655825be613eaf125d3323e5;p=oota-llvm.git Whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206919 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/SmallVector.h b/include/llvm/ADT/SmallVector.h index 1afa4a21b0f..791d03c6491 100644 --- a/include/llvm/ADT/SmallVector.h +++ b/include/llvm/ADT/SmallVector.h @@ -220,7 +220,7 @@ protected: /// Guarantees space for at least one more element, or MinSize more /// elements if specified. void grow(size_t MinSize = 0); - + public: void push_back(const T &Elt) { if (this->EndX >= this->CapacityX) @@ -247,7 +247,7 @@ template void SmallVectorTemplateBase::grow(size_t MinSize) { size_t CurCapacity = this->capacity(); size_t CurSize = this->size(); - // Always grow, even from zero. + // Always grow, even from zero. size_t NewCapacity = size_t(NextPowerOf2(CurCapacity+2)); if (NewCapacity < MinSize) NewCapacity = MinSize; @@ -332,7 +332,7 @@ public: memcpy(this->end(), &Elt, sizeof(T)); this->setEnd(this->end()+1); } - + void pop_back() { this->setEnd(this->end()-1); }