diff --git a/llvm/include/llvm/ADT/SmallSet.h b/llvm/include/llvm/ADT/SmallSet.h index 96a68fb8da0e2..4c60b15224a45 100644 --- a/llvm/include/llvm/ADT/SmallSet.h +++ b/llvm/include/llvm/ADT/SmallSet.h @@ -272,9 +272,9 @@ class SmallSet { /// We use this middleman class DeprecatedSmallSet so that the deprecation /// warning works. Placing LLVM_DEPRECATED just before SmallSet below won't /// work. -template +template class LLVM_DEPRECATED("Use SmallPtrSet instead", "SmallPtrSet") - DeprecatedSmallSet : public SmallPtrSet {}; + DeprecatedSmallSet : public SmallPtrSet {}; template class SmallSet : public DeprecatedSmallSet {