diff options
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 497aac55e59..cefc2e91584 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -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; } } |