aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis/Support
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
commitf0e75d6baf0dc6ba0a7d66726d9e3ba455db8639 (patch)
treecac557e3d7269eb2c82f5e0beb47fd073691bf6d /include/clang/Analysis/Support
parent55bac5339154cedc7541b5648f9c3486e547b45c (diff)
Add 'template' keyword to disambiguate the use of a member template within a templated class. Hopefully this will please the buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/Support')
-rw-r--r--include/clang/Analysis/Support/BumpVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/Support/BumpVector.h b/include/clang/Analysis/Support/BumpVector.h
index d1c6d4ba4a..243332fec0 100644
--- a/include/clang/Analysis/Support/BumpVector.h
+++ b/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) {