Skip to content

Conversation

@vsapsai
Copy link

@vsapsai vsapsai commented Oct 15, 2025

Don't compare and accept unnamed records from different types only because they are defined in RecordDecl DeclContext. During recursive comparison don't reject unnamed records defined inside other ordered containers like Objective-C classes.

rdar://161592007
(cherry picked from commit 3e5fc80)

@vsapsai
Copy link
Author

vsapsai commented Oct 15, 2025

@swift-ci please test

…tible. (llvm#162933)

Don't compare and accept unnamed records from different types only
because they are defined in `RecordDecl` `DeclContext`. During recursive
comparison don't reject unnamed records defined inside other ordered
containers like Objective-C classes.

rdar://161592007
(cherry picked from commit 3e5fc80)
@vsapsai vsapsai force-pushed the cherry-pick/c23-stop-comparing-unnamed-structs branch from 43cbb49 to 7b73549 Compare October 15, 2025 21:11
@vsapsai
Copy link
Author

vsapsai commented Oct 15, 2025

@swift-ci please test

@vsapsai vsapsai merged commit 3a42763 into swiftlang:stable/21.x Oct 16, 2025
3 checks passed
@vsapsai vsapsai deleted the cherry-pick/c23-stop-comparing-unnamed-structs branch October 16, 2025 16:49
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