Skip to content

[NFC] [cxx-interop] Add SILGen tests for synthesized initializers. #32658

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
Jul 3, 2020

Conversation

zoecarver
Copy link
Contributor

Adds a basic test that the synthesized C++ constructor was generated correctly.

I think our constructor tests are currently a bit lacking. As I make more changes to how C++ constructors are created, I'll be adding more (relevant) tests with each patch. Hopefully, that and the added tests in #30630 will increase the overall coverage.

Refs #32534.

@zoecarver zoecarver requested review from gribozavr and MForster July 1, 2020 17:55
@zoecarver zoecarver force-pushed the cxx/test/no-arg-const branch from cc574e7 to f485845 Compare July 2, 2020 00:02
@gribozavr gribozavr added the c++ interop Feature: Interoperability with C++ label Jul 2, 2020
@zoecarver zoecarver force-pushed the cxx/test/no-arg-const branch from f485845 to 1bfacae Compare July 2, 2020 20:21
@zoecarver zoecarver requested review from gribozavr and MForster July 2, 2020 20:21
Adds a basic test that the synthesized C++ constructor was generated correctly.
@zoecarver zoecarver force-pushed the cxx/test/no-arg-const branch from 1bfacae to 4b14487 Compare July 2, 2020 22:07
@zoecarver
Copy link
Contributor Author

@swift-ci please smoke test and merge.

@swift-ci swift-ci merged commit 6ebd2a7 into swiftlang:master Jul 3, 2020
@gribozavr
Copy link
Contributor

Thanks, LGTM!

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.

4 participants