Skip to content

Commit 0d79158

Browse files
committed
Swift: remove TODOs after deciding not to do them
1 parent 5fe942e commit 0d79158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ class KeyPathReturnPostUpdateNode extends NodeImpl, ParameterNodeImpl, PostUpdat
453453
}
454454

455455
override predicate isParameterOf(DataFlowCallable c, ParameterPosition pos) {
456-
c.asSourceCallable() = this.getKeyPathExpr() and pos = TPositionalParameter(0) // TODO: new parameter type?
456+
c.asSourceCallable() = this.getKeyPathExpr() and pos = TPositionalParameter(0)
457457
}
458458

459459
override Location getLocationImpl() { result = exit.getLocation() }
@@ -569,7 +569,7 @@ private module ArgumentNodes {
569569

570570
override predicate argumentOf(DataFlowCall call, ArgumentPosition pos) {
571571
call.asKeyPath() = keyPath and
572-
pos = TPositionalArgument(0) // TODO: new parameter type?
572+
pos = TPositionalArgument(0)
573573
}
574574
}
575575
}

0 commit comments

Comments
 (0)