[llvm] [ADT] Remove an unused private "using" directive (PR #157020)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 4 22:50:25 PDT 2025


https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/157020

SmallSetIterator::SelfTy is not used anywhere.


>From e6f1b948e8972328867e8080ca9a656426a2bdcf Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Thu, 4 Sep 2025 10:07:28 -0700
Subject: [PATCH] [ADT] Remove an unused private "using" directive

SmallSetIterator::SelfTy is not used anywhere.
---
 llvm/include/llvm/ADT/SmallSet.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/llvm/include/llvm/ADT/SmallSet.h b/llvm/include/llvm/ADT/SmallSet.h
index 7d8c328758d53..0e90293352630 100644
--- a/llvm/include/llvm/ADT/SmallSet.h
+++ b/llvm/include/llvm/ADT/SmallSet.h
@@ -36,7 +36,6 @@ class SmallSetIterator
 private:
   using SetIterTy = typename std::set<T, C>::const_iterator;
   using VecIterTy = typename SmallVector<T, N>::const_iterator;
-  using SelfTy = SmallSetIterator<T, N, C>;
 
   /// Iterators to the parts of the SmallSet containing the data. They are set
   /// depending on isSmall.



More information about the llvm-commits mailing list