llvm-project
07eb7b76 - [llvm] Replace SmallSet with SmallPtrSet (NFC) (#154068)

Commit
118 days ago
[llvm] Replace SmallSet with SmallPtrSet (NFC) (#154068) This patch replaces SmallSet<T *, N> with SmallPtrSet<T *, N>. Note that SmallSet.h "redirects" SmallSet to SmallPtrSet for pointer element types: template <typename PointeeType, unsigned N> class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N> {}; We only have 140 instances that rely on this "redirection", with the vast majority of them under llvm/. Since relying on the redirection doesn't improve readability, this patch replaces SmallSet with SmallPtrSet for pointer element types.
Parents
Loading