From: Dan Gohman Date: Sat, 7 Aug 2010 01:17:47 +0000 (+0000) Subject: Delete this explicit assignment operator; it's equivalent to X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=fc8b58e1d435c248fee873e5d58674cc57074927;p=oota-llvm.git 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 --- 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 {