commit | 348096519ed33d31af09e60cccf759ac2c4de186 | [log] [tgz] |
---|---|---|
author | Florian Hahn <florian.hahn@arm.com> | Sat Jun 16 12:36:19 2018 +0000 |
committer | Florian Hahn <florian.hahn@arm.com> | Sat Jun 16 12:36:19 2018 +0000 |
tree | 9831b43a576c328821058c3928a7e017f38d152b | |
parent | ec4b3c5670b15527ae9e68cd987735a3851979bf [diff] |
[SmallSet] Add SmallSetIterator. This patch adds a simple const_iterator implementation for SmallSet by delegating to either a SmallVector::const_iterator or std::set::const_iterator, depending on which storage is used by the SmallSet. Reviewers: dblaikie, craig.topper Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D47942 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334887 91177308-0d34-0410-b5e6-96231b3b80d8