We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6bfdbf commit 1d61437Copy full SHA for 1d61437
include/swift/SIL/SILValue.h
@@ -274,8 +274,12 @@ struct ValueOwnershipKind {
274
bool operator==(ValueOwnershipKind other) const {
275
return value == other.value;
276
}
277
+ bool operator!=(ValueOwnershipKind other) const {
278
+ return !(value == other.value);
279
+ }
280
281
bool operator==(innerty other) const { return value == other; }
282
+ bool operator!=(innerty other) const { return !(value == other); }
283
284
/// We merge by moving down the lattice.
285
ValueOwnershipKind merge(ValueOwnershipKind rhs) const {
0 commit comments