Skip to content

[cxx-interop] Re-enable round tripping for debug types. #62821

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zoecarver
Copy link
Contributor

No description provided.

@zoecarver zoecarver added the c++ interop Feature: Interoperability with C++ label Jan 3, 2023
@zoecarver
Copy link
Contributor Author

Refs #39886 #57699

@zoecarver
Copy link
Contributor Author

@swift-ci please test

…lizations.

Use Swift (clang importer) lookup infra when looking up clang decls for debug info.
@zoecarver zoecarver force-pushed the enable-debug-roundtrip-etc branch from 523ae8e to 337c87f Compare January 5, 2023 22:36
@zoecarver
Copy link
Contributor Author

@swift-ci please test

@@ -3033,53 +3033,22 @@ ClangNode ClangImporter::getEffectiveClangNode(const Decl *decl) const {
void ClangImporter::lookupTypeDecl(
StringRef rawName, ClangTypeKind kind,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I should either remove ClangTypeKind from the API for factor it in to the lookup if it's necessary.

@zoecarver
Copy link
Contributor Author

@swift-ci please test

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.

1 participant