Skip to content

Commit

Permalink
Revert "[NFC] Fix the warning Wcovered-switch-default"
Browse files Browse the repository at this point in the history
This reverts commit e55bda0.
  • Loading branch information
augusto2112 committed Dec 15, 2023
1 parent aaa3f72 commit 87bd71e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clang/include/clang/Serialization/ASTWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -763,8 +763,9 @@ class ASTWriter : public ASTDeserializationListener,
return DeclDependentNonTemplateCXXMethodAbbrev;
case FunctionDecl::TK_DependentFunctionTemplateSpecialization:
return DeclDependentSpecializationCXXMethodAbbrev;
default:
llvm_unreachable("Unknwon Template Kind!");
}
llvm_unreachable("Unknwon Template Kind!");
}
unsigned getDeclTemplateTypeParmAbbrev() const {
return DeclTemplateTypeParmAbbrev;
Expand Down

0 comments on commit 87bd71e

Please sign in to comment.