aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-07-02 21:00:00 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-07-02 21:00:00 +0000
commitebcaa3cd97bf48c4c56dcf9aab5e9a7df85969ed (patch)
treeeaa8586424e3ce419bdfd0164263791675575780
parent1f7ebddd5f6f6787023a0b7b2cd3dd4e80e10447 (diff)
downloadexternal_llvm-ebcaa3cd97bf48c4c56dcf9aab5e9a7df85969ed.zip
external_llvm-ebcaa3cd97bf48c4c56dcf9aab5e9a7df85969ed.tar.gz
external_llvm-ebcaa3cd97bf48c4c56dcf9aab5e9a7df85969ed.tar.bz2
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
-rw-r--r--include/llvm/Support/IntegersSubset.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/IntegersSubset.h b/include/llvm/Support/IntegersSubset.h
index 35e2dad..4d76fab 100644
--- 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 {