forked from OSchip/llvm-project
[Sema][NFC] Fix a Wimplicit-fallthrough warning in CheckSpecializationInstantiationRedecl
All cases are covered so add an llvm_unreachable. NFC. llvm-svn: 349949
This commit is contained in:
parent
21636ab80c
commit
d8c17673d7
|
@ -7966,6 +7966,7 @@ Sema::CheckSpecializationInstantiationRedecl(SourceLocation NewLoc,
|
|||
HasNoEffect = true;
|
||||
return false;
|
||||
}
|
||||
llvm_unreachable("Unexpected TemplateSpecializationKind!");
|
||||
|
||||
case TSK_ExplicitInstantiationDefinition:
|
||||
switch (PrevTSK) {
|
||||
|
|
Loading…
Reference in New Issue