[gardening][enum class] Replace unsigned char with uint8_t for consistency

Before the changes:

- `git grep -E "enum class .+ : uint8_t \{" | wc -l`: 90
- `git grep -E "enum class .+ : unsigned char \{" | wc -l`: 26
This commit is contained in:
Sho Ikeda
2018-03-12 13:57:36 +09:00
parent a77bdf20cb
commit 422136e1a2
19 changed files with 37 additions and 41 deletions

View File

@@ -191,11 +191,7 @@ static void InsertCFGDiamond(SILValue Cond, SILLocation Loc, SILBuilder &B,
//===----------------------------------------------------------------------===//
namespace {
enum class DIKind : unsigned char {
No,
Yes,
Partial
};
enum class DIKind : uint8_t { No, Yes, Partial };
} // end anonymous namespace
/// This implements the lattice merge operation for 2 optional DIKinds.