Use an underlying enum type of unsigned to silence a -Wmicrosoft warning about being unable to put (unsigned)-1 into the default underyling type of int

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232498 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Kleckner 2015-03-17 16:50:20 +00:00
parent 4bb6aeb874
commit 78158ce3a4

View File

@ -104,7 +104,7 @@ namespace {
///
class InductiveRangeCheck {
// Classifies a range check
enum RangeCheckKind {
enum RangeCheckKind : unsigned {
// Range check of the form "0 <= I".
RANGE_CHECK_LOWER = 1,