summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-10-07 06:20:14 +0000
committerTed Kremenek <kremenek@apple.com>2009-10-07 06:20:14 +0000
commit8c6066d0210367f3f6009e2b09ff46660f868e02 (patch)
tree8f276f405d386d91a755087aed095da79c0f9ecf
parent7881ac97a5b4efb5b414356504273ba09ed7b654 (diff)
downloadbcm5719-llvm-8c6066d0210367f3f6009e2b09ff46660f868e02.tar.gz
bcm5719-llvm-8c6066d0210367f3f6009e2b09ff46660f868e02.zip
Add 'template' keyword to disambiguate the use of a member template within a templated class. Hopefully this will please the buildbots.
llvm-svn: 83452
-rw-r--r--clang/include/clang/Analysis/Support/BumpVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Analysis/Support/BumpVector.h b/clang/include/clang/Analysis/Support/BumpVector.h
index d1c6d4ba4a0..243332fec0d 100644
--- a/clang/include/clang/Analysis/Support/BumpVector.h
+++ b/clang/include/clang/Analysis/Support/BumpVector.h
@@ -176,7 +176,7 @@ void BumpVector<T>::grow(BumpVectorContext &C, size_t MinSize) {
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) {
OpenPOWER on IntegriCloud