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

anonymous structs and unions fix #138

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

Conversation

dgarnier
Copy link

@dgarnier dgarnier commented Sep 6, 2024

In at least clang-17, anonymous unions which were given no name in libclang, are now give with a name like (anonymous at filename.h:23:2). This obviously breaks. This patch fixes the problem with a light touch that should work either way, but only tested with clang-17. This should fix Issue #135

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