Skip to content

Commit 862de15

Browse files
committed
Swift: Add required qldoc.
1 parent 6f37d7c commit 862de15

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

swift/ql/lib/codeql/swift/dataflow/internal/DataFlowPublic.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ class CaptureNode extends Node, TCaptureNode {
141141

142142
CaptureNode() { this = TCaptureNode(cn) }
143143

144+
/**
145+
* Gets the underlying synthesized capture node that is created by the
146+
* variable capture library.
147+
*/
144148
CaptureFlow::SynthesizedCaptureNode getSynthesizedCaptureNode() { result = cn }
145149
}
146150

@@ -256,6 +260,7 @@ module Content {
256260

257261
CapturedVariableContent() { this = TCapturedVariableContent(v) }
258262

263+
/** Gets the underlying captured variable. */
259264
CapturedVariable getVariable() { result = v }
260265

261266
override string toString() { result = v.toString() }

0 commit comments

Comments
 (0)