fallthrough happened to do the right thing in both cases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223064
91177308-0d34-0410-b5e6-
96231b3b80d8
if (DebugInfo &&
Spec->getSpecializationKind() == TSK_ExplicitInstantiationDefinition)
DebugInfo->completeTemplateDefinition(*Spec);
+ break;
}
default:
// non-top-level decl. FIXME: Would be nice to have an isTopLevelDeclKind
// function. Need to recode Decl::Kind to do that easily.
assert(isa<TypeDecl>(D) && "Unsupported decl kind");
+ break;
}
}