Skip to content

Commit 87bd71e

Browse files
committed
Revert "[NFC] Fix the warning Wcovered-switch-default"
This reverts commit e55bda0.
1 parent aaa3f72 commit 87bd71e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/include/clang/Serialization/ASTWriter.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,9 @@ class ASTWriter : public ASTDeserializationListener,
763763
return DeclDependentNonTemplateCXXMethodAbbrev;
764764
case FunctionDecl::TK_DependentFunctionTemplateSpecialization:
765765
return DeclDependentSpecializationCXXMethodAbbrev;
766+
default:
767+
llvm_unreachable("Unknwon Template Kind!");
766768
}
767-
llvm_unreachable("Unknwon Template Kind!");
768769
}
769770
unsigned getDeclTemplateTypeParmAbbrev() const {
770771
return DeclTemplateTypeParmAbbrev;

0 commit comments

Comments
 (0)