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-Tag: llvmorg-5.0.0-rc1~4633 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca74978d6c78898306896f425bc2404c9fc4f0f4;p=platform%2Fupstream%2Fllvm.git SmallPtrSetImpl/SmallPtrSet: Add a public value_type and key_type llvm-svn: 303518 --- diff --git a/llvm/include/llvm/ADT/SmallPtrSet.h b/llvm/include/llvm/ADT/SmallPtrSet.h index b49d216..a0b380b 100644 --- a/llvm/include/llvm/ADT/SmallPtrSet.h +++ b/llvm/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;