Skip to content

Commit e415b0b

Browse files
committed
[ADT] Fix redirection of SmallSet to SmallPtrSet
The previous version introduce an extra level of pointer indirection.
1 parent 03a23f0 commit e415b0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/ADT/SmallSet.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,9 @@ class SmallSet {
272272
/// We use this middleman class DeprecatedSmallSet so that the deprecation
273273
/// warning works. Placing LLVM_DEPRECATED just before SmallSet below won't
274274
/// work.
275-
template <typename PointeeType, unsigned N>
275+
template <typename PointerType, unsigned N>
276276
class LLVM_DEPRECATED("Use SmallPtrSet instead", "SmallPtrSet")
277-
DeprecatedSmallSet : public SmallPtrSet<PointeeType *, N> {};
277+
DeprecatedSmallSet : public SmallPtrSet<PointerType, N> {};
278278

279279
template <typename PointeeType, unsigned N>
280280
class SmallSet<PointeeType *, N> : public DeprecatedSmallSet<PointeeType *, N> {

0 commit comments

Comments
 (0)