mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 22:15:18 +00:00
Give ConstantRange an operator=
llvm-svn: 110376
This commit is contained in:
parent
68f5d1e7fa
commit
aeaf73ecb2
@ -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…
Reference in New Issue
Block a user