diff --git a/llvm/include/llvm/ADT/SmallSet.h b/llvm/include/llvm/ADT/SmallSet.h index 4c60b15224a45..7d8c328758d53 100644 --- a/llvm/include/llvm/ADT/SmallSet.h +++ b/llvm/include/llvm/ADT/SmallSet.h @@ -268,17 +268,8 @@ class SmallSet { /// If this set is of pointer values, transparently switch over to using /// SmallPtrSet for performance. -/// -/// We use this middleman class DeprecatedSmallSet so that the deprecation -/// warning works. Placing LLVM_DEPRECATED just before SmallSet below won't -/// work. -template -class LLVM_DEPRECATED("Use SmallPtrSet instead", "SmallPtrSet") - DeprecatedSmallSet : public SmallPtrSet {}; - template -class SmallSet : public DeprecatedSmallSet { -}; +class SmallSet : public SmallPtrSet {}; /// Equality comparison for SmallSet. ///