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

llvm-svn: 232498
This commit is contained in:
Reid Kleckner 2015-03-17 16:50:20 +00:00
parent f06086a912
commit 0b16859805
1 changed files with 1 additions and 1 deletions

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,