Give ConstantRange an operator=

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2010-08-05 20:51:10 +00:00
parent 3aff66905f
commit 9850a28866

View File

@ -139,6 +139,12 @@ 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 {