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:
1f7ebdd
)
Fix -Wstring-conversion warning.
author
David Blaikie
<dblaikie@gmail.com>
Mon, 2 Jul 2012 21:00:00 +0000
(21:00 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Mon, 2 Jul 2012 21:00:00 +0000
(21:00 +0000)
Patch by Matt Beaumont-Gay.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159583
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 35e2dadb9562d95457b6cd81b614f48d13eda247..4d76fab2d0941a4dcc959b8074e165488aeb7d2d 100644
(file)
--- a/
include/llvm/Support/IntegersSubset.h
+++ b/
include/llvm/Support/IntegersSubset.h
@@
-218,8
+218,7
@@
public:
const_cast<Type&>(RangeType) = RANGE;
return false;
}
- assert(!"Unknown state?!");
- return false;
+ llvm_unreachable("Unknown state?!");
}
const IntType& getLow() const {