From ebcaa3cd97bf48c4c56dcf9aab5e9a7df85969ed 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159583 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/IntegersSubset.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/Support/IntegersSubset.h b/include/llvm/Support/IntegersSubset.h index 35e2dadb956..4d76fab2d09 100644 --- a/include/llvm/Support/IntegersSubset.h +++ b/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 {