Skip to content

Conversation

kazutakahirata
Copy link
Contributor

SmallSetIterator::SelfTy is not used anywhere.

SmallSetIterator::SelfTy is not used anywhere.
@llvmbot
Copy link
Member

llvmbot commented Sep 5, 2025

@llvm/pr-subscribers-llvm-adt

Author: Kazu Hirata (kazutakahirata)

Changes

SmallSetIterator::SelfTy is not used anywhere.


Full diff: https://github.com/llvm/llvm-project/pull/157020.diff

1 Files Affected:

  • (modified) llvm/include/llvm/ADT/SmallSet.h (-1)
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.

@kazutakahirata kazutakahirata merged commit 91a48b1 into llvm:main Sep 5, 2025
11 checks passed
@kazutakahirata kazutakahirata deleted the cleanup_20250904_ADT_SmallSetIterator_SelfTy branch September 5, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants