Skip to content

Fix collision of anonymous structs from different functions#155

Merged
nunoplopes merged 2 commits into
Cpp2Rust:masterfrom
lucic71:anon
May 27, 2026
Merged

Fix collision of anonymous structs from different functions#155
nunoplopes merged 2 commits into
Cpp2Rust:masterfrom
lucic71:anon

Conversation

@lucic71
Copy link
Copy Markdown
Contributor

@lucic71 lucic71 commented May 27, 2026

This also simplifies the code because it deletes GetAnonIndex and synthesizeAnonRecordName. Instead it uses GetNamedDeclAsString for generating a stable name for anonymous records.

@nunoplopes nunoplopes merged commit 9a6306d into Cpp2Rust:master May 27, 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