summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/SimpleIListTest.cpp
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-01-24 04:11:18 +0000
committerDean Michael Berris <dberris@google.com>2017-01-24 04:11:18 +0000
commit227c6ebc663bffc48b8ac191d00b4d06ca27a53e (patch)
tree7d92a8913520c123e68cd8e812674766df635ed0 /llvm/unittests/ADT/SimpleIListTest.cpp
parentb2a23cf3c08cee45614f27eb2c6d044e506aa6a6 (diff)
downloadbcm5719-llvm-227c6ebc663bffc48b8ac191d00b4d06ca27a53e.tar.gz
bcm5719-llvm-227c6ebc663bffc48b8ac191d00b4d06ca27a53e.zip
Allow DenseSet::iterators to be conveted to and compared with const_iterator
Summary: This seemed to be an oversight seeing as DenseMap has these conversions. This patch does the following: - Adds a default constructor to the iterators. - Allows DenseSet::ConstIterators to be copy constructed from DenseSet::Iterators - Allows mutual comparison between Iterators and ConstIterators. All of these are available in the DenseMap implementation, so the implementation here is trivial. Reviewers: dblaikie, dberris Reviewed By: dberris Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D28999 llvm-svn: 292879
Diffstat (limited to 'llvm/unittests/ADT/SimpleIListTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud