Skip to content

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Feb 13, 2025

This only works for simple initialization ops and ops where the return value is ignored. This can be used for dummy init ops that are used to give hints to data flow analysis about lifetimes of values, when initialization is done via a pointer argument (e.g. init_my_struct(&reg) in C).

This only works for simple initialization ops (fake/dummy init op).
@JukkaL JukkaL merged commit b07d5f0 into master Feb 13, 2025
12 checks passed
@JukkaL JukkaL deleted the mypyc-lower-del-op branch February 13, 2025 13:28
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull request Feb 24, 2025
This only works for simple initialization ops and ops where the return
value is ignored. This can be used for dummy init ops that are used to
give hints to data flow analysis about lifetimes of values, when
initialization is done via a pointer argument (e.g.
`init_my_struct(&reg)` in C).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants