[llvm-commits] [llvm] r110498 - /llvm/trunk/include/llvm/Support/ConstantRange.h

Dan Gohman gohman at apple.com
Fri Aug 6 18:17:47 PDT 2010


Author: djg
Date: Fri Aug  6 20:17:47 2010
New Revision: 110498

URL: http://llvm.org/viewvc/llvm-project?rev=110498&view=rev
Log:
Delete this explicit assignment operator; it's equivalent to
the implicit one.

Modified:
    llvm/trunk/include/llvm/Support/ConstantRange.h

Modified: llvm/trunk/include/llvm/Support/ConstantRange.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ConstantRange.h?rev=110498&r1=110497&r2=110498&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ConstantRange.h (original)
+++ llvm/trunk/include/llvm/Support/ConstantRange.h Fri Aug  6 20:17:47 2010
@@ -142,12 +142,6 @@
   ///
   APInt getSignedMin() const;
 
-  /// operator= - Copy one ConstantRange over another.
-  void operator=(const ConstantRange &CR) {
-    Lower = CR.Lower;
-    Upper = CR.Upper;
-  }
-
   /// operator== - Return true if this range is equal to another range.
   ///
   bool operator==(const ConstantRange &CR) const {





More information about the llvm-commits mailing list