[cfe-commits] r83452 - /cfe/trunk/include/clang/Analysis/Support/BumpVector.h

Ted Kremenek kremenek at apple.com
Tue Oct 6 23:20:15 PDT 2009


Author: kremenek
Date: Wed Oct  7 01:20:14 2009
New Revision: 83452

URL: http://llvm.org/viewvc/llvm-project?rev=83452&view=rev
Log:
Add 'template' keyword to disambiguate the use of a member template within a templated class.  Hopefully this will please the buildbots.

Modified:
    cfe/trunk/include/clang/Analysis/Support/BumpVector.h

Modified: cfe/trunk/include/clang/Analysis/Support/BumpVector.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Support/BumpVector.h?rev=83452&r1=83451&r2=83452&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/Support/BumpVector.h (original)
+++ cfe/trunk/include/clang/Analysis/Support/BumpVector.h Wed Oct  7 01:20:14 2009
@@ -176,7 +176,7 @@
     NewCapacity = MinSize;
 
   // Allocate the memory from the BumpPtrAllocator.
-  T *NewElts = C.getAllocator().Allocate<T>(NewCapacity);
+  T *NewElts = C.getAllocator().template Allocate<T>(NewCapacity);
   
   // Copy the elements over.
   if (llvm::is_class<T>::value) {





More information about the cfe-commits mailing list