mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
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:
parent
3aff66905f
commit
9850a28866
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user