mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 05:29:23 +00:00
Rename operator== parameter to RHS
.
The previous name `Ref` is overly generic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183354 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0d861a24d8
commit
cfb476fb20
@ -43,12 +43,12 @@ public:
|
|||||||
return Data.size() / 2;
|
return Data.size() / 2;
|
||||||
return Data.size();
|
return Data.size();
|
||||||
}
|
}
|
||||||
bool operator==(const BinaryRef &Ref) {
|
bool operator==(const BinaryRef &RHS) {
|
||||||
// Special case for default constructed BinaryRef.
|
// Special case for default constructed BinaryRef.
|
||||||
if (Ref.Data.empty() && Data.empty())
|
if (RHS.Data.empty() && Data.empty())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return Ref.DataIsHexString == DataIsHexString && Ref.Data == Data;
|
return RHS.DataIsHexString == DataIsHexString && RHS.Data == Data;
|
||||||
}
|
}
|
||||||
/// \brief Write the contents (regardless of whether it is binary or a
|
/// \brief Write the contents (regardless of whether it is binary or a
|
||||||
/// hex string) as binary to the given raw_ostream.
|
/// hex string) as binary to the given raw_ostream.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user