From 178edfea07a892984853c93c54aa349bb55cd6d8 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 13 Apr 2015 16:37:50 +0000 Subject: [PATCH] Remove default in fully-covered switch (to fix Clang -Werror -Wcovered-switch-default) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234760 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp index e4a796e5478..e4fc3ff318f 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp @@ -1649,7 +1649,6 @@ void DAGTypeLegalizer::ExpandIntRes_ADDSUB(SDNode *N, SDValue OVF = Lo.getValue(1); switch (BoolType) { - default: case TargetLoweringBase::UndefinedBooleanContent: OVF = DAG.getNode(ISD::AND, dl, NVT, DAG.getConstant(1, NVT), OVF); // Fallthrough -- 2.34.1