projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
706f79a
)
SmallPtrSetImpl/SmallPtrSet: Add a public value_type and key_type
author
Daniel Berlin
<dberlin@dberlin.org>
Sun, 21 May 2017 23:41:51 +0000
(23:41 +0000)
committer
Daniel Berlin
<dberlin@dberlin.org>
Sun, 21 May 2017 23:41:51 +0000
(23:41 +0000)
llvm-svn: 303518
llvm/include/llvm/ADT/SmallPtrSet.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/ADT/SmallPtrSet.h
b/llvm/include/llvm/ADT/SmallPtrSet.h
index
b49d216
..
a0b380b
100644
(file)
--- a/
llvm/include/llvm/ADT/SmallPtrSet.h
+++ b/
llvm/include/llvm/ADT/SmallPtrSet.h
@@
-365,6
+365,8
@@
protected:
public:
using iterator = SmallPtrSetIterator<PtrType>;
using const_iterator = SmallPtrSetIterator<PtrType>;
+ using key_type = ConstPtrType;
+ using value_type = PtrType;
SmallPtrSetImpl(const SmallPtrSetImpl &) = delete;