Skip to content

Fix more lambda patterns - #532

Merged
nunoplopes merged 9 commits into
Cpp2Rust:masterfrom
lucic71:fix-lambdas
Oct 14, 2026
Merged

nunoplopes merged 9 commits into
Cpp2Rust:masterfrom
lucic71:fix-lambdas

Conversation

@lucic71

@lucic71 lucic71 commented Oct 14, 2026

Copy link
Copy Markdown
Contributor
  1. Fix defaultable lambdas that contain static locals
  2. Translate static invoker of lambda (when passing the lambda to a template)
  3. Fix name generator for lambdas
    i. We need the same ASTNameGenerator for the entire lifetime of the converter, otherwise we get name clashes between mangled templates that receive lambdas
  4. Fix redeclarations in IsUserDefinedDecl

@nunoplopes
nunoplopes merged commit a8ca6ad into Cpp2Rust:master Oct 14, 2026
9 checks passed
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.

2 participants