Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[c2cpg] Closure/Capturing rework #5313

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Conversation

max-leuthaeuser
Copy link
Contributor

@max-leuthaeuser max-leuthaeuser commented Feb 17, 2025

So basically we are now using the rather simple createVariableReferenceLinks that runs after the AST generation just like we do in JS and very similar in Python. No more special handling for lambdas. ClosureBindings and Captures are done on one step there.

Also: fixed they way names for anonymous elements are created to be more in line with other frontends.

@max-leuthaeuser max-leuthaeuser changed the title WIP: [c2cpg] Closure/Capturing rework [c2cpg] Closure/Capturing rework Feb 19, 2025
@max-leuthaeuser max-leuthaeuser marked this pull request as ready for review February 19, 2025 18:49
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.

1 participant