We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b7d885 + dcdcd13 commit 89bf333Copy full SHA for 89bf333
lib/ClangImporter/ClangImporter.cpp
@@ -7656,6 +7656,10 @@ static bool hasCopyTypeOperations(const clang::CXXRecordDecl *decl) {
7656
namespaceContext->getName() == "__gnu_cxx" && decl->getIdentifier() &&
7657
decl->getName() == "__normal_iterator")
7658
return true;
7659
+ // Hack for certain build configurations of SwiftCompilerSources
7660
+ // (rdar://138924133).
7661
+ if (decl->getIdentifier() && decl->getName() == "BridgedSwiftObject")
7662
+ return true;
7663
7664
// If we have no way of copying the type we can't import the class
7665
// at all because we cannot express the correct semantics as a swift
0 commit comments