From aae875c27ce59e1c98dbc4a2358a006f2edef433 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 6 Feb 2012 08:17:43 +0000 Subject: Move some llvm_unreachable's from r149849 out of switch statements to satisfy -Wcovered-switch-default git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149860 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/ScheduleDAG.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/CodeGen') diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h index fdf40c7128..8e75948d7f 100644 --- a/include/llvm/CodeGen/ScheduleDAG.h +++ b/include/llvm/CodeGen/ScheduleDAG.h @@ -128,8 +128,8 @@ namespace llvm { Other.Contents.Order.isNormalMemory && Contents.Order.isMustAlias == Other.Contents.Order.isMustAlias && Contents.Order.isArtificial == Other.Contents.Order.isArtificial; - default: llvm_unreachable("Invalid dependency kind!"); } + llvm_unreachable("Invalid dependency kind!"); } bool operator!=(const SDep &Other) const { -- cgit v1.2.3