Needed for clang's static analyzer. Jordan suggested to add it directly
in FoldingSet.h.
Details
Details
- Reviewers
jordan_rose
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hm. This doesn't look like it will actually handle pairs containing any non-struct type, where you have to use AddInteger or AddPointer as appropriate. (Why don't those have FoldingSetTraits directly?)
Comment Actions
It looks like there's already a specialization for T*, so it's just the integers that get left out. Someone can add those later if they need them.