Rust: Handle ref patterns in data flow

To do this we:
* Let SSA writes target the name inside identifier patterns instead of
  the pattern itself
* Include relevant names in the data flow graph
* Add a store step from a identifier patterns with `ref` into the
  contained name. So we have an edge `ref a` -> `a` that stores in the
  reference content type.
This commit is contained in:
Simon Friis Vindum
2025-02-12 11:12:16 +01:00
parent 5da14252ed
commit 7476aeaabf
20 changed files with 853 additions and 221 deletions

View File

@@ -1336,7 +1336,7 @@ class _:
"""
@annotate(Name)
@annotate(Name, cfg=True)
class _:
"""
A Name. For example: