Delete this explicit assignment operator; it's equivalent to
authorDan Gohman <gohman@apple.com>
Sat, 7 Aug 2010 01:17:47 +0000 (01:17 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 7 Aug 2010 01:17:47 +0000 (01:17 +0000)
the implicit one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110498 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/ConstantRange.h

index 1187cfd94949b3434f07f5d9935b2b7b43e9e0fd..d767bd36b0c00a89d51958de4a99ad0e09d431c3 100644 (file)
@@ -142,12 +142,6 @@ public:
   ///
   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 {