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:
3b12ab4
)
Add a value_type typedef to SmallVector, to make it more compatible with STL adapters.
author
Owen Anderson
<resistor@mac.com>
Fri, 15 Aug 2008 18:45:51 +0000
(18:45 +0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 15 Aug 2008 18:45:51 +0000
(18:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54819
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/SmallVector.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/SmallVector.h
b/include/llvm/ADT/SmallVector.h
index d98d40a3f391c81a9ea4613debd3acb8cc133f87..05952a4490e4a095fd9919cef4e148b666656b0e 100644
(file)
--- a/
include/llvm/ADT/SmallVector.h
+++ b/
include/llvm/ADT/SmallVector.h
@@
-90,6
+90,7
@@
public:
}
typedef size_t size_type;
+ typedef T value_type;
typedef T* iterator;
typedef const T* const_iterator;