From: Daniel Berlin Date: Sun, 21 May 2017 23:41:51 +0000 (+0000) Subject: SmallPtrSetImpl/SmallPtrSet: Add a public value_type and key_type X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dcdd10cbc7d58975f036b1c4f5d1cf122443f0b;p=llvm 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 --- 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;