summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit0373bbc8d6a2a13479a5711a1bd13a5a7044386b (patch)
treeadbf77ed85ae7309a5162433de828ccd97434eb3 /llvm
parent665c76bc52b15cf6860c736924a6fff2242ed606 (diff)
downloadbcm5719-llvm-0373bbc8d6a2a13479a5711a1bd13a5a7044386b.tar.gz
bcm5719-llvm-0373bbc8d6a2a13479a5711a1bd13a5a7044386b.zip
IntRange, fixed warning in isSingleNumber method
llvm-svn: 159532
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/IntegersSubset.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/IntegersSubset.h b/llvm/include/llvm/Support/IntegersSubset.h
index 06df79344e2..e52a2f3cd6b 100644
--- a/llvm/include/llvm/Support/IntegersSubset.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud