mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-08 05:16:53 +00:00
Attempt to make buildbot happier with r266032.
Apparently std::numeric_limits<unsigned>::max() isn't constexpr everywhere yet. llvm-svn: 266034
This commit is contained in:
parent
4e2d8dca99
commit
cbf8ff2965
@ -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…
x
Reference in New Issue
Block a user