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 38c8968 + 2bc4199 commit 9fdb0e7Copy full SHA for 9fdb0e7
lib/ClangImporter/ImportDecl.cpp
@@ -2650,11 +2650,12 @@ namespace {
2650
return nullptr;
2651
}
2652
2653
- // Bail if this is `std::tzdb`. This type causes issues in copy
+ // Bail if this is `std::chrono::tzdb`. This type causes issues in copy
2654
// constructor instantiation.
2655
// FIXME: https://github.com/apple/swift/issues/73037
2656
- if (decl->isInStdNamespace() && decl->getIdentifier() &&
2657
- decl->getName() == "tzdb")
+ if (decl->getDeclContext()->isNamespace() &&
+ decl->getDeclContext()->getParent()->isStdNamespace() &&
2658
+ decl->getIdentifier() && decl->getName() == "tzdb")
2659
2660
2661
auto &clangSema = Impl.getClangSema();
0 commit comments