Swift: Update test results for IfConfigDecl no longer being extracted

This commit is contained in:
Jeroen Ketema
2025-04-22 16:26:23 +02:00
committed by Paolo Tranquilli
parent 36672f44b9
commit 1b21e4c667
5 changed files with 15 additions and 31 deletions

View File

@@ -264,9 +264,6 @@
| declarations.swift:155:1:155:28 | { ... } | |
| declarations.swift:155:5:155:5 | d | |
| declarations.swift:157:1:180:1 | ifConfig() | |
| declarations.swift:158:3:166:3 | #if ... | |
| declarations.swift:168:3:171:3 | #if ... | |
| declarations.swift:173:3:179:3 | #if ... | |
| declarations.swift:182:1:182:10 | B | |
| declarations.swift:182:7:182:7 | B.deinit() | |
| declarations.swift:182:7:182:7 | B.init() | |

View File

@@ -1 +0,0 @@
| if_config.swift:1:1:10:1 | #if ... | getModule: | file://:0:0:0:0 | if_config | getNumberOfMembers: | 0 | getNumberOfActiveElements: | 3 |

View File

@@ -1,3 +0,0 @@
| if_config.swift:1:1:10:1 | #if ... | 0 | if_config.swift:8:1:8:16 | { ... } |
| if_config.swift:1:1:10:1 | #if ... | 1 | if_config.swift:8:5:8:5 | baz |
| if_config.swift:1:1:10:1 | #if ... | 2 | if_config.swift:9:1:9:12 | { ... } |

View File

@@ -3109,16 +3109,13 @@ cfg.swift:
# 467| [NamedFunction] testIfConfig()
# 467| InterfaceType = () -> ()
# 467| getBody(): [BraceStmt] { ... }
# 468| getElement(0): [IfConfigDecl] #if ...
# 472| getElement(1): [IntegerLiteralExpr] 3
# 473| getElement(2): [IntegerLiteralExpr] 4
# 476| getElement(3): [IntegerLiteralExpr] 5
# 478| getElement(4): [IfConfigDecl] #if ...
# 483| getElement(5): [IntegerLiteralExpr] 8
# 485| getElement(6): [IfConfigDecl] #if ...
# 489| getElement(7): [IntegerLiteralExpr] 11
# 490| getElement(8): [IntegerLiteralExpr] 12
# 493| getElement(9): [IntegerLiteralExpr] 13
# 472| getElement(0): [IntegerLiteralExpr] 3
# 473| getElement(1): [IntegerLiteralExpr] 4
# 476| getElement(2): [IntegerLiteralExpr] 5
# 483| getElement(3): [IntegerLiteralExpr] 8
# 489| getElement(4): [IntegerLiteralExpr] 11
# 490| getElement(5): [IntegerLiteralExpr] 12
# 493| getElement(6): [IntegerLiteralExpr] 13
# 496| [NamedFunction] testAvailable()
# 496| InterfaceType = () -> Int
# 496| getBody(): [BraceStmt] { ... }
@@ -4587,14 +4584,11 @@ declarations.swift:
# 157| [NamedFunction] ifConfig()
# 157| InterfaceType = () -> ()
# 157| getBody(): [BraceStmt] { ... }
# 158| getElement(0): [IfConfigDecl] #if ...
# 163| getElement(1): [IntegerLiteralExpr] 4
# 164| getElement(2): [IntegerLiteralExpr] 5
# 165| getElement(3): [IntegerLiteralExpr] 6
# 168| getElement(4): [IfConfigDecl] #if ...
# 173| getElement(5): [IfConfigDecl] #if ...
# 174| getElement(6): [IntegerLiteralExpr] 9
# 175| getElement(7): [IntegerLiteralExpr] 10
# 163| getElement(0): [IntegerLiteralExpr] 4
# 164| getElement(1): [IntegerLiteralExpr] 5
# 165| getElement(2): [IntegerLiteralExpr] 6
# 174| getElement(3): [IntegerLiteralExpr] 9
# 175| getElement(4): [IntegerLiteralExpr] 10
# 182| [ClassDecl] B
# 182| getMember(0): [Deinitializer] B.deinit()
# 182| InterfaceType = (B) -> () -> ()

View File

@@ -1902,14 +1902,11 @@
| cfg.swift:464:39:464:39 | kpGet_mayB_x | cfg.swift:464:39:464:39 | (KeyPath<A, Int?>) ... | |
| cfg.swift:467:1:494:1 | enter testIfConfig() | cfg.swift:467:1:494:1 | testIfConfig() | |
| cfg.swift:467:1:494:1 | exit testIfConfig() (normal) | cfg.swift:467:1:494:1 | exit testIfConfig() | |
| cfg.swift:467:1:494:1 | testIfConfig() | cfg.swift:468:1:474:1 | #if ... | |
| cfg.swift:468:1:474:1 | #if ... | cfg.swift:472:3:472:3 | 3 | |
| cfg.swift:467:1:494:1 | testIfConfig() | cfg.swift:472:3:472:3 | 3 | |
| cfg.swift:472:3:472:3 | 3 | cfg.swift:473:3:473:3 | 4 | |
| cfg.swift:473:3:473:3 | 4 | cfg.swift:476:3:476:3 | 5 | |
| cfg.swift:476:3:476:3 | 5 | cfg.swift:478:1:481:1 | #if ... | |
| cfg.swift:478:1:481:1 | #if ... | cfg.swift:483:3:483:3 | 8 | |
| cfg.swift:483:3:483:3 | 8 | cfg.swift:485:1:491:1 | #if ... | |
| cfg.swift:485:1:491:1 | #if ... | cfg.swift:489:3:489:3 | 11 | |
| cfg.swift:476:3:476:3 | 5 | cfg.swift:483:3:483:3 | 8 | |
| cfg.swift:483:3:483:3 | 8 | cfg.swift:489:3:489:3 | 11 | |
| cfg.swift:489:3:489:3 | 11 | cfg.swift:490:3:490:3 | 12 | |
| cfg.swift:490:3:490:3 | 12 | cfg.swift:493:3:493:3 | 13 | |
| cfg.swift:493:3:493:3 | 13 | cfg.swift:467:1:494:1 | exit testIfConfig() (normal) | |