[PATCH] D43254: Use LLVM's DenseSet insteead of unordered_set.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 13:37:17 PST 2018


efriedma added inline comments.


================
Comment at: lld/wasm/SymbolTable.cpp:37
 void SymbolTable::reportRemainingUndefines() {
-  std::unordered_set<Symbol *> Undefs;
+  DenseSet<Symbol *> Undefs;
   for (Symbol *Sym : SymVector) {
----------------
Don't you need a SetVector here?


https://reviews.llvm.org/D43254





More information about the llvm-commits mailing list