[llvm] [ADT] Deprecate the redirection from SmallSet to SmallPtrSet (Take 2) (PR #155078)

Ben Langmuir via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 23 11:27:33 PDT 2025


benlangmuir wrote:

This code is turning `SmallSet<T *>` into `SmallPtrSet<T **>` (extra pointer level), which results in build errors if it gets used.  The issue is `DeprecatedSmallSet` is a template, not a specialization, so its `PointeeType` is the pointer not the pointee.

https://github.com/llvm/llvm-project/pull/155078


More information about the llvm-commits mailing list