aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2013-06-05 23:58:14 +0000
committerSean Silva <silvas@purdue.edu>2013-06-05 23:58:14 +0000
commitcfb476fb20476aea15ca800ef571bfff7b5f3d29 (patch)
treed28153f23eaacf9d12988058f6f8f5e789d90d31 /include
parent0d861a24d87306543e9dc3657584bb9b26d110cc (diff)
downloadexternal_llvm-cfb476fb20476aea15ca800ef571bfff7b5f3d29.zip
external_llvm-cfb476fb20476aea15ca800ef571bfff7b5f3d29.tar.gz
external_llvm-cfb476fb20476aea15ca800ef571bfff7b5f3d29.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Object/YAML.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Object/YAML.h b/include/llvm/Object/YAML.h
index 7f59dd1..44af45c 100644
--- a/include/llvm/Object/YAML.h
+++ b/include/llvm/Object/YAML.h
@@ -43,12 +43,12 @@ public:
return Data.size() / 2;
return Data.size();
}
- bool operator==(const BinaryRef &Ref) {
+ bool operator==(const BinaryRef &RHS) {
// Special case for default constructed BinaryRef.
- if (Ref.Data.empty() && Data.empty())
+ if (RHS.Data.empty() && Data.empty())
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
/// hex string) as binary to the given raw_ostream.