-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[cxx interoperability] Turn off non subscript templated operators #59207
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
[cxx interoperability] Turn off non subscript templated operators #59207
Conversation
@swift-ci please smoke test |
lib/ClangImporter/ClangImporter.cpp
Outdated
#include <memory> | ||
#include <string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume the double inclusion of the string header is a mistake?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is from a different PR (which Im branched off of) but this is a good catch thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressing in this PR actually since this is a follow up and cleaning up this include is fine here I think
@swift-ci please smoke test |
6532e6d
to
0d7a041
Compare
@swift-ci please smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for submitting this so quickly! This looks good to me :)
We've updated how CXX operators get imported into swift. We don't currently support templated operators aside from the subscript operator.