Skip to content

Conversation

@micahrj
Copy link
Contributor

@micahrj micahrj commented Jun 4, 2023

Currently, we detect anonymous items by checking if their name is an empty string, but newer versions of libclang return names like "(anonymous enum at ...)" in this case. Use clang_Cursor_isAnonymous instead to detect anonymous items explicitly.

Fixes #1.

Currently, we detect anonymous items by checking if their name is an
empty string, but newer versions of libclang return names like
"(anonymous enum at ...)" in this case. Use clang_Cursor_isAnonymous
instead to detect anonymous items explicitly.
@micahrj micahrj merged commit ce76b24 into coupler-rs:master Jun 4, 2023
@micahrj micahrj deleted the anonymous-fix branch June 4, 2023 19:42
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.

unnamed enum issue on macos

1 participant