IntRange, fixed warning in isSingleNumber method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159532 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Stepan Dyatkovskiy 2012-07-02 14:10:46 +00:00
parent c0fdba955a
commit dbd0f69e54

View File

@ -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;