Skip to content

Commit c87c1c0

Browse files
committed
clean up 4
1 parent 6254024 commit c87c1c0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

llvm/include/llvm/Frontend/HLSL/HLSLBinding.h

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,14 @@ struct Binding {
113113
Cookie(Cookie) {}
114114

115115
bool isUnbounded() const { return UpperBound == ~0U; }
116-
bool operator==(const Binding &RHS) const {
117-
return std::tie(RC, Space, LowerBound, UpperBound, Cookie) ==
118-
std::tie(RHS.RC, RHS.Space, RHS.LowerBound, RHS.UpperBound,
119-
RHS.Cookie);
120-
}
121-
bool operator!=(const Binding &RHS) const { return !(*this == RHS); }
116+
117+
bool operator==(const Binding &RHS) const {
118+
return std::tie(RC, Space, LowerBound, UpperBound, Cookie) ==
119+
std::tie(RHS.RC, RHS.Space, RHS.LowerBound, RHS.UpperBound,
120+
RHS.Cookie);
121+
}
122+
123+
bool operator!=(const Binding &RHS) const { return !(*this == RHS); }
122124

123125
bool operator<(const Binding &RHS) const {
124126
return std::tie(RC, Space, LowerBound) <

0 commit comments

Comments
 (0)