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
This commit is contained in:
David Blaikie 2012-07-02 21:00:00 +00:00
parent 1f7ebddd5f
commit ebcaa3cd97

View File

@ -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 {