[PATCH] D47836: Use SmallPtrSet explicitly for SmallSets with pointer types (NFC).

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 6 16:21:51 PDT 2018


craig.topper added a comment.

SmallSet<T*> has a template specialization that just inherits from SmallPtrSet.

As to the question about giong the other direction and using SmallSet everywehre. The real SmallSet class doesn't implement begin/end while SmallPtrSet does so we shouldn't convert everything that direction.


https://reviews.llvm.org/D47836





More information about the llvm-commits mailing list