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 a0b8324 commit 2ee4024Copy full SHA for 2ee4024
include/swift/SIL/OSSALifetimeCompletion.h
@@ -170,6 +170,19 @@ class UnreachableLifetimeCompletion {
170
bool completeLifetimes();
171
};
172
173
+inline llvm::raw_ostream &
174
+operator<<(llvm::raw_ostream &OS, OSSALifetimeCompletion::Boundary boundary) {
175
+ switch (boundary) {
176
+ case OSSALifetimeCompletion::Boundary::Liveness:
177
+ OS << "liveness";
178
+ break;
179
+ case OSSALifetimeCompletion::Boundary::Availability:
180
+ OS << "availability";
181
182
+ }
183
+ return OS;
184
+}
185
+
186
} // namespace swift
187
188
#endif
0 commit comments