Attempt to make buildbot happier with r266032.

Apparently std::numeric_limits<unsigned>::max() isn't constexpr
everywhere yet.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266034 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
George Burgess IV 2016-04-12 01:44:13 +00:00
parent 274105b8b5
commit 9aead67902

View File

@ -38,8 +38,7 @@ using namespace llvm;
//
// In order to do this, we need to reserve one value of the second (optional)
// allocsize argument to signify "not present."
LLVM_CONSTEXPR static unsigned AllocSizeNumElemsNotPresent =
std::numeric_limits<unsigned>::max();
LLVM_CONSTEXPR static unsigned AllocSizeNumElemsNotPresent = -1;
static uint64_t packAllocSizeArgs(unsigned ElemSizeArg,
const Optional<unsigned> &NumElemsArg) {