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.
VisitClassTemplateDecl
1 parent 0b38780 commit c0a2c78Copy full SHA for c0a2c78
lib/ClangImporter/ImportDecl.cpp
@@ -4562,16 +4562,6 @@ namespace {
4562
}
4563
4564
Decl *VisitClassTemplateDecl(const clang::ClassTemplateDecl *decl) {
4565
- // When loading a namespace's sub-decls, we won't add template
4566
- // specilizations, so make sure to do that here.
4567
- for (auto spec : decl->specializations()) {
4568
- if (auto importedSpec = Impl.importDecl(spec, getVersion())) {
4569
- if (auto namespaceDecl =
4570
- dyn_cast<EnumDecl>(importedSpec->getDeclContext()))
4571
- namespaceDecl->addMember(importedSpec);
4572
- }
4573
4574
-
4575
ImportedName importedName;
4576
std::tie(importedName, std::ignore) = importFullName(decl);
4577
auto name = importedName.getDeclName().getBaseIdentifier();
0 commit comments