[llvm-commits] [llvm] r159532 - /llvm/trunk/include/llvm/Support/IntegersSubset.h

Stepan Dyatkovskiy stpworld at narod.ru
Mon Jul 2 07:10:46 PDT 2012


Author: dyatkovskiy
Date: Mon Jul  2 09:10:46 2012
New Revision: 159532

URL: http://llvm.org/viewvc/llvm-project?rev=159532&view=rev
Log:
IntRange, fixed warning in isSingleNumber method

Modified:
    llvm/trunk/include/llvm/Support/IntegersSubset.h

Modified: llvm/trunk/include/llvm/Support/IntegersSubset.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/IntegersSubset.h?rev=159532&r1=159531&r2=159532&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/IntegersSubset.h (original)
+++ llvm/trunk/include/llvm/Support/IntegersSubset.h Mon Jul  2 09:10:46 2012
@@ -210,8 +210,7 @@
         return true;
       case RANGE:
         return false;
-      case UNKNOWN:
-      default:
+      default: // UNKNOWN
         if (Low == High) {
           const_cast<Type&>(RangeType) = SINGLE_NUMBER;
           return true;





More information about the llvm-commits mailing list