Skip to content

[stable/20240723] [clang][ExtractAPI] combine typedef records if the underlying type's name is underscored #9978

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

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

QuietMisdreavus
Copy link

Cherry-pick of llvm#125964

fixes rdar://137214218

When 'typedef struct' decls are encountered, the records are combined if the underlying type is either anonymous or has the same name as the typedef. Extend this behavior to also combine records when the underlying type has an underscored name that is equivalent to the typedef name when the leading underscores are removed.

…name is underscored (llvm#125964)

fixes rdar://137214218

When 'typedef struct' decls are encountered, the records are combined if
the underlying type is either anonymous or has the same name as the
typedef. Extend this behavior to also combine records when the
underlying type has an underscored name that is equivalent to the
typedef name when the leading underscores are removed.
@QuietMisdreavus QuietMisdreavus requested a review from a team as a code owner February 7, 2025 20:29
@QuietMisdreavus
Copy link
Author

@swift-ci Please test

@QuietMisdreavus QuietMisdreavus merged commit 263d6fa into stable/20240723 Feb 10, 2025
3 checks passed
@QuietMisdreavus QuietMisdreavus deleted the vgm/stable-2024/typedef-underscore branch February 10, 2025 20:16
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