[PATCH] D22682: [esan] Add iterator to esan's generic hashtable
Derek Bruening via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 1 13:10:53 PDT 2016
bruening marked 3 inline comments as done.
================
Comment at: lib/esan/esan_hashtable.h:343
@@ +342,3 @@
+HashTable<KeyTy, DataTy>::end() {
+ return iterator(this, Capacity);
+}
----------------
aizatsky wrote:
> I'm not sure that this iterator is correct when table is empty. Could you add a test please?
I believe it should work...and it works in my added test.
https://reviews.llvm.org/D22682
More information about the llvm-commits
mailing list