sammccall accepted this revision.
sammccall added a comment.

Awesome, thank you!



================
Comment at: clang-tools-extra/clangd/index/Relation.h:75
+  private:
+    std::vector<Relation> Relations;
+  };
----------------
kadircet wrote:
> maybe use a set so that we can be sure that there won't be any duplicates. 
> sorry for missing that in the previous iteration.
(you're sorting the array at the end anyway, so sort + unique + erase seems 
neater)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59407/new/

https://reviews.llvm.org/D59407



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to