From 6b8b051b4773d924137feedc7fa583b39bde04f0 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 2 Jul 2012 21:00:00 +0000 Subject: [PATCH] Fix -Wstring-conversion warning. Patch by Matt Beaumont-Gay. llvm-svn: 159583 --- llvm/include/llvm/Support/IntegersSubset.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/include/llvm/Support/IntegersSubset.h b/llvm/include/llvm/Support/IntegersSubset.h index 35e2dadb9562..4d76fab2d094 100644 --- a/llvm/include/llvm/Support/IntegersSubset.h +++ b/llvm/include/llvm/Support/IntegersSubset.h @@ -218,8 +218,7 @@ public: const_cast(RangeType) = RANGE; return false; } - assert(!"Unknown state?!"); - return false; + llvm_unreachable("Unknown state?!"); } const IntType& getLow() const {