Skip to content

[cxx-interop] Support class templates containing typedefs. #34557

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

Conversation

zoecarver
Copy link
Contributor

This prevents an assertion in "isOverAligned" caused by class templates that contain and use typedefs.

This prevents an assertion in "isOverAligned" caused class templates
that contain and use typedefs.
@zoecarver zoecarver added the c++ interop Feature: Interoperability with C++ label Nov 3, 2020
@zoecarver zoecarver requested a review from hlopko November 3, 2020 07:20
Copy link
Contributor

@hlopko hlopko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job! LGTM.

@hlopko
Copy link
Contributor

hlopko commented Nov 3, 2020

Actually, could you please add header guards into the test header? We use them in all test headers (I hope :)

@zoecarver
Copy link
Contributor Author

@hlopko I'm happy to do it either way. I added header guards in some of my earlier patches but then I was asked not to. As I said, I don't really care. But we should try to be uniform on this, and I think the consensus is not to have them (for the reasons stated in the above link).

@hlopko
Copy link
Contributor

hlopko commented Nov 4, 2020

Please take a look if this problem is fixed by #34538.

@zoecarver
Copy link
Contributor Author

@hlopko unfortunately, it doesn't look like it is. So I'm going to land this PR.

@zoecarver
Copy link
Contributor Author

@swift-ci please smoke test and merge.

1 similar comment
@zoecarver
Copy link
Contributor Author

@swift-ci please smoke test and merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants