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 b159a8f + c0a2c78 commit 3e07369Copy full SHA for 3e07369
lib/ClangImporter/ImportDecl.cpp
@@ -4595,16 +4595,6 @@ namespace {
4595
}
4596
4597
Decl *VisitClassTemplateDecl(const clang::ClassTemplateDecl *decl) {
4598
- // When loading a namespace's sub-decls, we won't add template
4599
- // specilizations, so make sure to do that here.
4600
- for (auto spec : decl->specializations()) {
4601
- if (auto importedSpec = Impl.importDecl(spec, getVersion())) {
4602
- if (auto namespaceDecl =
4603
- dyn_cast<EnumDecl>(importedSpec->getDeclContext()))
4604
- namespaceDecl->addMember(importedSpec);
4605
- }
4606
4607
-
4608
ImportedName importedName;
4609
std::tie(importedName, std::ignore) = importFullName(decl);
4610
auto name = importedName.getDeclName().getBaseIdentifier();
0 commit comments