projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c0fdba9
)
IntRange, fixed warning in isSingleNumber method
author
Stepan Dyatkovskiy
<stpworld@narod.ru>
Mon, 2 Jul 2012 14:10:46 +0000
(14:10 +0000)
committer
Stepan Dyatkovskiy
<stpworld@narod.ru>
Mon, 2 Jul 2012 14:10:46 +0000
(14:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159532
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/IntegersSubset.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/IntegersSubset.h
b/include/llvm/Support/IntegersSubset.h
index 06df79344e21e53a110e357212bc7234c7c48e17..e52a2f3cd6b9b2f5e7648e62949a8d463c6284b6 100644
(file)
--- a/
include/llvm/Support/IntegersSubset.h
+++ b/
include/llvm/Support/IntegersSubset.h
@@
-210,8
+210,7
@@
public:
return true;
case RANGE:
return false;
return true;
case RANGE:
return false;
- case UNKNOWN:
- default:
+ default: // UNKNOWN
if (Low == High) {
const_cast<Type&>(RangeType) = SINGLE_NUMBER;
return true;
if (Low == High) {
const_cast<Type&>(RangeType) = SINGLE_NUMBER;
return true;