From fc8b58e1d435c248fee873e5d58674cc57074927 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Sat, 7 Aug 2010 01:17:47 +0000 Subject: [PATCH] Delete this explicit assignment operator; it's equivalent to 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 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/llvm/Support/ConstantRange.h b/include/llvm/Support/ConstantRange.h index 1187cfd9494..d767bd36b0c 100644 --- a/include/llvm/Support/ConstantRange.h +++ b/include/llvm/Support/ConstantRange.h @@ -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 { -- 2.34.1