Add missing 'break's, found by inspection. No functionality change; the

fallthrough happened to do the right thing in both cases.

llvm-svn: 223064
This commit is contained in:
Richard Smith
2014-12-01 18:59:10 +00:00
parent 178e6548f5
commit a634ff2194

View File

@@ -3270,6 +3270,7 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) {
if (DebugInfo &&
Spec->getSpecializationKind() == TSK_ExplicitInstantiationDefinition)
DebugInfo->completeTemplateDefinition(*Spec);
break;
}
default:
@@ -3277,6 +3278,7 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) {
// 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;
}
}