mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-07 12:30:57 +00:00
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:
parent
274105b8b5
commit
9aead67902
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user