diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-12-25 06:13:25 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-12-25 06:13:25 +0000 |
commit | 08d785bc2a0b444efc98106460d6dae3768a0e7f (patch) | |
tree | f0d75000b77996f6c18fa98db872f540d014f5c0 /lib/Support/FoldingSet.cpp | |
parent | a4c8a32a9f9ca0db1e7dd95c0a95529403097c1f (diff) |
Fix whitespace. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/FoldingSet.cpp')
-rw-r--r-- | lib/Support/FoldingSet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/FoldingSet.cpp b/lib/Support/FoldingSet.cpp index 9c44c9348b..36e33b5aaf 100644 --- a/lib/Support/FoldingSet.cpp +++ b/lib/Support/FoldingSet.cpp @@ -148,7 +148,7 @@ unsigned FoldingSetNodeID::ComputeHash() const { /// operator== - Used to compare two nodes to each other. /// -bool FoldingSetNodeID::operator==(const FoldingSetNodeID &RHS)const{ +bool FoldingSetNodeID::operator==(const FoldingSetNodeID &RHS) const { return *this == FoldingSetNodeIDRef(RHS.Bits.data(), RHS.Bits.size()); } @@ -160,7 +160,7 @@ bool FoldingSetNodeID::operator==(FoldingSetNodeIDRef RHS) const { /// Used to compare the "ordering" of two nodes as defined by the /// profiled bits and their ordering defined by memcmp(). -bool FoldingSetNodeID::operator<(const FoldingSetNodeID &RHS)const{ +bool FoldingSetNodeID::operator<(const FoldingSetNodeID &RHS) const { return *this < FoldingSetNodeIDRef(RHS.Bits.data(), RHS.Bits.size()); } |