Skip to content

Commit 1c5eacd

Browse files
committed
hc
1 parent bdd6335 commit 1c5eacd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7656,6 +7656,9 @@ static bool hasCopyTypeOperations(const clang::CXXRecordDecl *decl) {
76567656
llvm::errs() << "decl->isTriviallyCopyable() =" << decl->isTriviallyCopyable() << "\n";
76577657
}
76587658
}
7659+
if (decl->getIdentifier() &&
7660+
decl->getName() == "__normal_iterator")
7661+
return true;
76597662

76607663
// If we have no way of copying the type we can't import the class
76617664
// at all because we cannot express the correct semantics as a swift

0 commit comments

Comments
 (0)