[llvm-commits] [llvm] r76357 -	/llvm/trunk/include/llvm/ADT/ImmutableSet.h
    Daniel Dunbar 
    daniel at zuster.org
       
    Sat Jul 18 18:42:34 PDT 2009
    
    
  
Author: ddunbar
Date: Sat Jul 18 20:42:34 2009
New Revision: 76357
URL: http://llvm.org/viewvc/llvm-project?rev=76357&view=rev
Log:
Remove redundant qualifiers.
Modified:
    llvm/trunk/include/llvm/ADT/ImmutableSet.h
Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ImmutableSet.h?rev=76357&r1=76356&r2=76357&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ImmutableSet.h (original)
+++ llvm/trunk/include/llvm/ADT/ImmutableSet.h Sat Jul 18 20:42:34 2009
@@ -166,7 +166,7 @@
   /// contains - Returns true if this tree contains a subtree (node) that
   ///  has an data element that matches the specified key.  Complexity
   ///  is logarithmic in the size of the tree.
-  bool contains(const key_type_ref K) { return (bool) find(K); }
+  bool contains(key_type_ref K) { return (bool) find(K); }
 
   /// foreach - A member template the accepts invokes operator() on a functor
   ///  object (specifed by Callback) for every node/subtree in the tree.
@@ -992,7 +992,7 @@
   friend class Factory;
 
   /// contains - Returns true if the set contains the specified value.
-  bool contains(const value_type_ref V) const {
+  bool contains(value_type_ref V) const {
     return Root ? Root->contains(V) : false;
   }
 
    
    
More information about the llvm-commits
mailing list