Explicitly request unsigned enum types when desired

This fixes repeated -Wmicrosoft warnings when self-hosting clang on
Windows, and gets us real unsigned enum types with MSVC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192227 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Kleckner
2013-10-08 20:15:11 +00:00
parent 875857953f
commit 73f615b0bd
3 changed files with 3 additions and 3 deletions

View File

@@ -144,7 +144,7 @@ namespace {
// not be erased.
bool isBulkSpilling;
enum {
enum LLVM_ENUM_INT_TYPE(unsigned) {
spillClean = 1,
spillDirty = 100,
spillImpossible = ~0u