[PATCH] D28999: Allow DenseSet::iterators to be conveted to and compared with const_iterator

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 22 19:30:35 PST 2017


dberris accepted this revision.
dberris added inline comments.
This revision is now accepted and ready to land.


================
Comment at: include/llvm/ADT/DenseSet.h:107
 
+    Iterator() {};
     Iterator(const typename MapTy::iterator &i) : I(i) {}
----------------
Spurious `;`


================
Comment at: include/llvm/ADT/DenseSet.h:138
+
+    ConstIterator() {};
+
----------------
Spurious `;`


https://reviews.llvm.org/D28999





More information about the llvm-commits mailing list