[llvm] [EquivalenceClasses] Introduce erase member function (PR #134660)
    Jakub Kuderski via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Apr  9 09:54:14 PDT 2025
    
    
  
================
@@ -220,6 +221,57 @@ template <class ElemTy> class EquivalenceClasses {
     return *ECV;
   }
 
+  /// erase - Erase a value from the union/find set, return "true" if erase
+  /// succeeded.
----------------
kuhar wrote:
When can we get `false`?
```suggestion
  /// succeeded, or "false" when the value was not found.
```
?
https://github.com/llvm/llvm-project/pull/134660
    
    
More information about the llvm-commits
mailing list