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 938e54c + 05f0b98 commit 2bbaa25Copy full SHA for 2bbaa25
lib/ClangImporter/ImportDecl.cpp
@@ -2640,6 +2640,15 @@ namespace {
2640
return nullptr;
2641
}
2642
2643
+ // Bail if this is `std::chrono::tzdb`. This type causes issues in copy
2644
+ // constructor instantiation.
2645
+ // FIXME: https://github.com/apple/swift/issues/73037
2646
+ if (decl->getDeclContext()->isNamespace() &&
2647
+ decl->getDeclContext()->getParent()->isStdNamespace() &&
2648
+ decl->getIdentifier() &&
2649
+ (decl->getName() == "tzdb" || decl->getName() == "time_zone_link"))
2650
+ return nullptr;
2651
+
2652
auto &clangSema = Impl.getClangSema();
2653
// Make Clang define any implicit constructors it may need (copy,
2654
// default). Make sure we only do this if the class has been fully defined
0 commit comments