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 7c4036e commit 990f0eeCopy full SHA for 990f0ee
include/swift/SIL/BasicBlockDatastructures.h
@@ -83,6 +83,9 @@ class BasicBlockWorklist {
83
push(initialBlock);
84
}
85
86
+ /// Whether there are any remaining blocks to process.
87
+ bool empty() { return worklist.empty(); }
88
+
89
/// Pops the last added element from the worklist or returns null, if the
90
/// worklist is empty.
91
SILBasicBlock *pop() {
0 commit comments