diff options
author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-07-02 14:10:46 +0000 |
---|---|---|
committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-07-02 14:10:46 +0000 |
commit | dbd0f69e546bbf29e4bebb5618acb321365dd4f5 (patch) | |
tree | 4d3798e2af1cd859189bbb64663933cbf955c683 | |
parent | c0fdba955abe7021739c6682c2acff378682ee75 (diff) |
IntRange, fixed warning in isSingleNumber method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159532 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/IntegersSubset.h | 3 |
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; |