summaryrefslogtreecommitdiff
path: root/include/llvm/Support/IntegersSubset.h
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2012-07-02 14:10:46 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2012-07-02 14:10:46 +0000
commitdbd0f69e546bbf29e4bebb5618acb321365dd4f5 (patch)
tree4d3798e2af1cd859189bbb64663933cbf955c683 /include/llvm/Support/IntegersSubset.h
parentc0fdba955abe7021739c6682c2acff378682ee75 (diff)
downloadllvm-dbd0f69e546bbf29e4bebb5618acb321365dd4f5.tar.gz
llvm-dbd0f69e546bbf29e4bebb5618acb321365dd4f5.tar.bz2
llvm-dbd0f69e546bbf29e4bebb5618acb321365dd4f5.tar.xz
IntRange, fixed warning in isSingleNumber method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159532 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/IntegersSubset.h')
-rw-r--r--include/llvm/Support/IntegersSubset.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/IntegersSubset.h b/include/llvm/Support/IntegersSubset.h
index 06df79344e..e52a2f3cd6 100644
--- a/include/llvm/Support/IntegersSubset.h
+++ b/include/llvm/Support/IntegersSubset.h
@@ -210,8 +210,7 @@ public:
return true;
case RANGE:
return false;
- case UNKNOWN:
- default:
+ default: // UNKNOWN
if (Low == High) {
const_cast<Type&>(RangeType) = SINGLE_NUMBER;
return true;