From 20c0ab2fee64d83732d0206207abc4d5a155b80a Mon Sep 17 00:00:00 2001 From: Kyungwoo Lee Date: Tue, 20 Aug 2024 08:59:17 -0700 Subject: [PATCH] Fix a warning for -Wcovered-switch-default --- llvm/tools/llvm-cgdata/llvm-cgdata.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/tools/llvm-cgdata/llvm-cgdata.cpp b/llvm/tools/llvm-cgdata/llvm-cgdata.cpp index 3104242070f34..5555f9ce42539 100644 --- a/llvm/tools/llvm-cgdata/llvm-cgdata.cpp +++ b/llvm/tools/llvm-cgdata/llvm-cgdata.cpp @@ -346,8 +346,6 @@ int llvm_cgdata_main(int argc, char **argvNonConst, const llvm::ToolContext &) { return merge_main(argc, argv); case CGDataAction::Show: return show_main(argc, argv); - default: - llvm_unreachable("unrecognized action"); } return 1;