From 5dcdd10cbc7d58975f036b1c4f5d1cf122443f0b Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Sun, 21 May 2017 23:41:51 +0000 Subject: [PATCH] SmallPtrSetImpl/SmallPtrSet: Add a public value_type and key_type git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303518 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/SmallPtrSet.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/llvm/ADT/SmallPtrSet.h b/include/llvm/ADT/SmallPtrSet.h index b49d216e0b6..a0b380b237d 100644 --- a/include/llvm/ADT/SmallPtrSet.h +++ b/include/llvm/ADT/SmallPtrSet.h @@ -365,6 +365,8 @@ protected: public: using iterator = SmallPtrSetIterator; using const_iterator = SmallPtrSetIterator; + using key_type = ConstPtrType; + using value_type = PtrType; SmallPtrSetImpl(const SmallPtrSetImpl &) = delete; -- 2.50.1