[llvm-commits] [llvm] r91530 - /llvm/trunk/include/llvm/ADT/SmallVector.h

Chris Lattner sabre at nondot.org
Wed Dec 16 01:09:56 PST 2009


Author: lattner
Date: Wed Dec 16 03:09:54 2009
New Revision: 91530

URL: http://llvm.org/viewvc/llvm-project?rev=91530&view=rev
Log:
Fix a missing this-> that clang++ notices.

Modified:
    llvm/trunk/include/llvm/ADT/SmallVector.h

Modified: llvm/trunk/include/llvm/ADT/SmallVector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/SmallVector.h?rev=91530&r1=91529&r2=91530&view=diff

==============================================================================
--- llvm/trunk/include/llvm/ADT/SmallVector.h (original)
+++ llvm/trunk/include/llvm/ADT/SmallVector.h Wed Dec 16 03:09:54 2009
@@ -314,7 +314,7 @@
     if (this->EndX < this->CapacityX) {
     Retry:
       new (this->end()) T(Elt);
-      setEnd(this->end()+1);
+      this->setEnd(this->end()+1);
       return;
     }
     this->grow();





More information about the llvm-commits mailing list