================ @@ -103,11 +103,9 @@ template<typename Info> class MultiOnDiskHashTable { /// The current set of on-disk tables. table_range tables() { - auto Begin = Tables.begin(), End = Tables.end(); - if (getMergedTable()) - ++Begin; - return llvm::make_range(llvm::map_iterator(Begin, AsOnDiskTable()), - llvm::map_iterator(End, AsOnDiskTable())); + bool DropBegin = getMergedTable(); ---------------- kuhar wrote:
Should we make this an integer that denotes how many elements to drop? https://github.com/llvm/llvm-project/pull/135990 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits