Fix some signed/unsigned comparison warnings.

Patch by Hugh Bellamy
Differential Revision: https://reviews.llvm.org/D30926

llvm-svn: 298099
This commit is contained in:
Zachary Turner 2017-03-17 16:32:43 +00:00
parent a0f96be9b1
commit e28558f0b0
1 changed files with 4 additions and 4 deletions

View File

@ -64,14 +64,14 @@ enum FileKind { FileError = 0, Basename, Dirname, Fullpath };
#define ENTRY_CHILDREN(n, t, f, c) \
{ \
n, nullptr, FormatEntity::Entry::Type::t, \
FormatEntity::Entry::FormatType::f, 0, llvm::array_lengthof(c), c, \
false \
FormatEntity::Entry::FormatType::f, 0, \
static_cast<uint32_t>(llvm::array_lengthof(c)), c, false \
}
#define ENTRY_CHILDREN_KEEP_SEP(n, t, f, c) \
{ \
n, nullptr, FormatEntity::Entry::Type::t, \
FormatEntity::Entry::FormatType::f, 0, llvm::array_lengthof(c), c, \
true \
FormatEntity::Entry::FormatType::f, 0, \
static_cast<uint32_t>(llvm::array_lengthof(c)), c, true \
}
#define ENTRY_STRING(n, s) \
{ \