File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
swift/ql/test/library-tests/dataflow/dataflow Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -324,6 +324,7 @@ nodes
324
324
| test.swift:472:20:472:20 | cx [x] : | semmle.label | cx [x] : |
325
325
| test.swift:472:20:472:23 | .x : | semmle.label | .x : |
326
326
| test.swift:473:15:473:15 | z1 | semmle.label | z1 |
327
+ | test.swift:480:14:480:21 | call to source() | semmle.label | call to source() |
327
328
subpaths
328
329
| test.swift:75:21:75:22 | &... : | test.swift:65:16:65:28 | arg1 : | test.swift:65:1:70:1 | arg2[return] : | test.swift:75:31:75:32 | [post] &... : |
329
330
| test.swift:114:19:114:19 | arg : | test.swift:109:9:109:14 | arg : | test.swift:110:12:110:12 | arg : | test.swift:114:12:114:22 | call to ... : |
@@ -408,3 +409,4 @@ subpaths
408
409
| test.swift:361:15:361:18 | .1 | test.swift:351:31:351:38 | call to source() : | test.swift:361:15:361:18 | .1 | result |
409
410
| test.swift:442:19:442:19 | a | test.swift:259:12:259:19 | call to source() : | test.swift:442:19:442:19 | a | result |
410
411
| test.swift:473:15:473:15 | z1 | test.swift:259:12:259:19 | call to source() : | test.swift:473:15:473:15 | z1 | result |
412
+ | test.swift:480:14:480:21 | call to source() | test.swift:480:14:480:21 | call to source() | test.swift:480:14:480:21 | call to source() | result |
Original file line number Diff line number Diff line change @@ -474,3 +474,8 @@ func testOptionalPropertyAccess(y: Int?) {
474
474
guard let z2 = cy. x else { return }
475
475
sink ( arg: z2)
476
476
}
477
+
478
+ func testIdentityArithmetic( ) {
479
+ sink ( arg: + source( ) ) // $ MISSING: flow=479
480
+ sink ( arg: ( source ( ) ) ) // $ flow=480
481
+ }
You can’t perform that action at this time.
0 commit comments