Skip to content

Commit eddca7f

Browse files
committed
Swift: autoformat for for-in changes
1 parent 56b646a commit eddca7f

File tree

4 files changed

+5783
-6896
lines changed

4 files changed

+5783
-6896
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,8 +983,8 @@ predicate readStep(Node node1, ContentSet c, Node node2) {
983983
node1.(DictionarySubscriptNode).getExpr() = subscript and
984984
c.isSingleton(any(Content::TupleContent tc | tc.getIndex() = 1))
985985
)
986-
// read of an optional into the loop variable via foreach
987986
or
987+
// read of an optional into the loop variable via foreach
988988
exists(ForEachStmt for |
989989
node1.asExpr() = for.getNextCall() and
990990
node2.asPattern() = for.getPattern() and

0 commit comments

Comments
 (0)