projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed4bd0
)
fix templates to work with pre c++11
author
Nick Kledzik
<kledzik@apple.com>
Tue, 28 Jan 2014 19:33:09 +0000
(19:33 +0000)
committer
Nick Kledzik
<kledzik@apple.com>
Tue, 28 Jan 2014 19:33:09 +0000
(19:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200333
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/Allocator.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/Allocator.h
b/include/llvm/Support/Allocator.h
index 9f7611be02343572682d36268e570fecaa9c470d..d259415bc3996ae9abe2beada915fa927a478c88 100644
(file)
--- a/
include/llvm/Support/Allocator.h
+++ b/
include/llvm/Support/Allocator.h
@@
-208,7
+208,7
@@
public:
/// Copy a ArrayRef<T> by allocating copy in BumpPtrAllocator.
template <typename T>
- typename enable_if<isPodLike<T>, ArrayRef<T>>::type
+ typename enable_if<isPodLike<T>, ArrayRef<T>
>::type
allocateCopy(ArrayRef<T> Src) {
size_t Length = Src.size();
T *P = allocateCopy(Src.data(), Length*sizeof(T));