Merge pull request #13567 from github/alexdenisov/extend-observer

Swift: extend frontend observer
This commit is contained in:
AlexDenisov
2023-06-28 09:35:27 +02:00
committed by GitHub
25 changed files with 30 additions and 136 deletions

View File

@@ -1,6 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,2 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,6 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,2 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |

View File

@@ -8,13 +8,4 @@ multipleSuccessors
deadEnd
| cfg.swift:33:49:33:60 | call to isZero(x:) |
| cfg.swift:144:18:144:34 | ... .&&(_:_:) ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| patterns.swift:16:10:16:14 | =~ ... |

View File

@@ -1,5 +1 @@
| file://:0:0:0:0 | ... .combine(_:) | UnresolvedDotExpr |
| file://:0:0:0:0 | ... .combine(_:) | UnresolvedDotExpr |
| file://:0:0:0:0 | ... .combine(_:) | UnresolvedDotExpr |
| file://:0:0:0:0 | ... .combine(_:) | UnresolvedDotExpr |
| patterns.swift:16:12:16:12 | OverloadedDeclRefExpr | OverloadedDeclRefExpr |

View File

@@ -2795,11 +2795,14 @@ cfg.swift:
#-----| getSource(): [IntegerLiteralExpr] 1
#-----| getLabel(0): [CaseLabelItem] .B
#-----| getPattern(): [EnumElementPattern] .B
#-----| getElement(2): [CallExpr] call to ...
#-----| getFunction(): [UnresolvedDotExpr] ... .combine(_:)
#-----| getBase(): [DeclRefExpr] hasher
#-----| getElement(2): [CallExpr] call to combine(_:)
#-----| getFunction(): [MethodLookupExpr] .combine(_:)
#-----| getBase(): [InOutExpr] &...
#-----| getSubExpr(): [DeclRefExpr] hasher
#-----| getMethodRef(): [DeclRefExpr] combine(_:)
#-----| getArgument(0): [Argument] : discriminator
#-----| getExpr(): [DeclRefExpr] discriminator
#-----| getExpr().getFullyConverted(): [LoadExpr] (Int) ...
#-----| getMember(7): [ConcreteVarDecl] hashValue
#-----| Type = Int
#-----| getAccessor(0): [Accessor] get
@@ -3482,11 +3485,14 @@ declarations.swift:
#-----| getSource(): [IntegerLiteralExpr] 4
#-----| getLabel(0): [CaseLabelItem] .value5
#-----| getPattern(): [EnumElementPattern] .value5
#-----| getElement(2): [CallExpr] call to ...
#-----| getFunction(): [UnresolvedDotExpr] ... .combine(_:)
#-----| getBase(): [DeclRefExpr] hasher
#-----| getElement(2): [CallExpr] call to combine(_:)
#-----| getFunction(): [MethodLookupExpr] .combine(_:)
#-----| getBase(): [InOutExpr] &...
#-----| getSubExpr(): [DeclRefExpr] hasher
#-----| getMethodRef(): [DeclRefExpr] combine(_:)
#-----| getArgument(0): [Argument] : discriminator
#-----| getExpr(): [DeclRefExpr] discriminator
#-----| getExpr().getFullyConverted(): [LoadExpr] (Int) ...
#-----| getMember(10): [ConcreteVarDecl] hashValue
#-----| Type = Int
#-----| getAccessor(0): [Accessor] get
@@ -4394,11 +4400,14 @@ expressions.swift:
#-----| getSource(): [IntegerLiteralExpr] 0
#-----| getLabel(0): [CaseLabelItem] .failed
#-----| getPattern(): [EnumElementPattern] .failed
#-----| getElement(2): [CallExpr] call to ...
#-----| getFunction(): [UnresolvedDotExpr] ... .combine(_:)
#-----| getBase(): [DeclRefExpr] hasher
#-----| getElement(2): [CallExpr] call to combine(_:)
#-----| getFunction(): [MethodLookupExpr] .combine(_:)
#-----| getBase(): [InOutExpr] &...
#-----| getSubExpr(): [DeclRefExpr] hasher
#-----| getMethodRef(): [DeclRefExpr] combine(_:)
#-----| getArgument(0): [Argument] : discriminator
#-----| getExpr(): [DeclRefExpr] discriminator
#-----| getExpr().getFullyConverted(): [LoadExpr] (Int) ...
#-----| getMember(5): [ConcreteVarDecl] hashValue
#-----| Type = Int
#-----| getAccessor(0): [Accessor] get
@@ -6656,11 +6665,14 @@ statements.swift:
#-----| getSource(): [IntegerLiteralExpr] 0
#-----| getLabel(0): [CaseLabelItem] .failed
#-----| getPattern(): [EnumElementPattern] .failed
#-----| getElement(2): [CallExpr] call to ...
#-----| getFunction(): [UnresolvedDotExpr] ... .combine(_:)
#-----| getBase(): [DeclRefExpr] hasher
#-----| getElement(2): [CallExpr] call to combine(_:)
#-----| getFunction(): [MethodLookupExpr] .combine(_:)
#-----| getBase(): [InOutExpr] &...
#-----| getSubExpr(): [DeclRefExpr] hasher
#-----| getMethodRef(): [DeclRefExpr] combine(_:)
#-----| getArgument(0): [Argument] : discriminator
#-----| getExpr(): [DeclRefExpr] discriminator
#-----| getExpr().getFullyConverted(): [LoadExpr] (Int) ...
#-----| getMember(5): [ConcreteVarDecl] hashValue
#-----| Type = Int
#-----| getAccessor(0): [Accessor] get

View File

@@ -8,5 +8,3 @@ multipleSuccessors
deadEnd
| cfg.swift:33:49:33:60 | call to isZero(x:) |
| cfg.swift:144:18:144:34 | ... .&&(_:_:) ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,5 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,10 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,3 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,2 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,11 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,5 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,2 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,6 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,13 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,9 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,2 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,5 +0,0 @@
deadEnd
| file://:0:0:0:0 | StmtCondition |
| file://:0:0:0:0 | StmtCondition |
| file://:0:0:0:0 | hasher |
| file://:0:0:0:0 | hasher |

View File

@@ -1,5 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,5 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |

View File

@@ -1,5 +0,0 @@
deadEnd
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |
| file://:0:0:0:0 | ... = ... |