https://github.com/kastiglione created 
https://github.com/llvm/llvm-project/pull/177211

None

>From b3809d3143367bc2b60ff497312234c2110643e5 Mon Sep 17 00:00:00 2001
From: Dave Lee <[email protected]>
Date: Wed, 21 Jan 2026 10:10:10 -0800
Subject: [PATCH] [lldb] Remove unused nested class UserID::IDMatches (NFC)

---
 lldb/include/lldb/Utility/UserID.h | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/lldb/include/lldb/Utility/UserID.h 
b/lldb/include/lldb/Utility/UserID.h
index 19e0052fc51cb..ca5e6a8785fdc 100644
--- a/lldb/include/lldb/Utility/UserID.h
+++ b/lldb/include/lldb/Utility/UserID.h
@@ -52,26 +52,6 @@ struct UserID {
   ///     The new user ID.
   void SetID(lldb::user_id_t uid) { m_uid = uid; }
 
-  /// Unary predicate function object that can search for a matching user ID.
-  ///
-  /// Function object that can be used on any class that inherits from UserID:
-  /// \code
-  /// iterator pos;
-  /// pos = std::find_if (coll.begin(), coll.end(), 
UserID::IDMatches(blockID));
-  /// \endcode
-  class IDMatches {
-  public:
-    /// Construct with the user ID to look for.
-    IDMatches(lldb::user_id_t uid) : m_uid(uid) {}
-
-    /// Unary predicate function object callback.
-    bool operator()(const UserID &rhs) const { return m_uid == rhs.GetID(); }
-
-  private:
-    // Member variables.
-    const lldb::user_id_t m_uid; ///< The user ID we are looking for
-  };
-
 protected:
   // Member variables.
   lldb::user_id_t m_uid; ///< The user ID that uniquely identifies an object.

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to