Skip to content

Commit 4e453b1

Browse files
committed
Swift: accept test changes
1 parent 0aecbc2 commit 4e453b1

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

swift/ql/test/library-tests/controlflow/graph/Cfg.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5705,10 +5705,10 @@ cfg.swift:
57055705

57065706
# 456| #keyPath(...)
57075707
#-----| -> var ... = ...
5708+
#-----| -> exit #keyPath(...) (normal)
57085709

57095710
# 456| #keyPath(...)
57105711
#-----| -> var ... = ...
5711-
#-----| -> exit #keyPath(...) (normal)
57125712

57135713
# 456| enter #keyPath(...)
57145714
#-----| -> #keyPath(...)
@@ -5747,10 +5747,10 @@ cfg.swift:
57475747

57485748
# 457| #keyPath(...)
57495749
#-----| -> var ... = ...
5750+
#-----| -> exit #keyPath(...) (normal)
57505751

57515752
# 457| #keyPath(...)
57525753
#-----| -> var ... = ...
5753-
#-----| -> exit #keyPath(...) (normal)
57545754

57555755
# 457| enter #keyPath(...)
57565756
#-----| -> #keyPath(...)
@@ -5801,10 +5801,10 @@ cfg.swift:
58015801

58025802
# 458| #keyPath(...)
58035803
#-----| -> var ... = ...
5804+
#-----| -> exit #keyPath(...) (normal)
58045805

58055806
# 458| #keyPath(...)
58065807
#-----| -> var ... = ...
5807-
#-----| -> exit #keyPath(...) (normal)
58085808

58095809
# 458| enter #keyPath(...)
58105810
#-----| -> #keyPath(...)
@@ -5867,10 +5867,10 @@ cfg.swift:
58675867

58685868
# 459| #keyPath(...)
58695869
#-----| -> var ... = ...
5870+
#-----| -> exit #keyPath(...) (normal)
58705871

58715872
# 459| #keyPath(...)
58725873
#-----| -> var ... = ...
5873-
#-----| -> exit #keyPath(...) (normal)
58745874

58755875
# 459| enter #keyPath(...)
58765876
#-----| -> #keyPath(...)
@@ -6211,7 +6211,6 @@ cfg.swift:
62116211
#-----| -> apply_kpGet_mayB_x
62126212

62136213
# 464| apply_kpGet_mayB_x
6214-
#-----| -> exit test(a:) (normal)
62156214

62166215
# 464| apply_kpGet_mayB_x
62176216

@@ -6220,6 +6219,7 @@ cfg.swift:
62206219
# 464| apply_kpGet_mayB_x
62216220

62226221
# 464| apply_kpGet_mayB_x
6222+
#-----| -> exit test(a:) (normal)
62236223

62246224
# 464| apply_kpGet_mayB_x
62256225
#-----| match -> a
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
| ConstructorDecl | RebindSelfInConstructorExpr | ParamDecl |
2-
| RebindSelfInConstructorExpr | ConstructorDecl | ParamDecl |

swift/ql/test/library-tests/parent/parent.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@
623623
| expressions.swift:77:21:77:21 | init | ConstructorDecl | expressions.swift:77:21:77:21 | self | ParamDecl |
624624
| expressions.swift:77:21:77:21 | init | ConstructorDecl | file://:0:0:0:0 | x | ParamDecl |
625625
| expressions.swift:77:21:77:21 | init | ConstructorDecl | file://:0:0:0:0 | { ... } | BraceStmt |
626+
| expressions.swift:78:3:80:3 | init | ConstructorDecl | expressions.swift:78:3:78:3 | self | ParamDecl |
626627
| expressions.swift:78:3:80:3 | init | ConstructorDecl | expressions.swift:78:10:80:3 | { ... } | BraceStmt |
627628
| expressions.swift:78:10:80:3 | { ... } | BraceStmt | expressions.swift:79:5:79:21 | self = ... | RebindSelfInConstructorExpr |
628629
| expressions.swift:78:10:80:3 | { ... } | BraceStmt | expressions.swift:80:3:80:3 | return | ReturnStmt |

0 commit comments

Comments
 (0)