diff --git a/llvm/include/llvm/Support/Allocator.h b/llvm/include/llvm/Support/Allocator.h index bb0ca118e201..b5f40ef72cd7 100644 --- a/llvm/include/llvm/Support/Allocator.h +++ b/llvm/include/llvm/Support/Allocator.h @@ -64,7 +64,7 @@ LLVM_ABI void printBumpPtrAllocatorStats(unsigned NumSlabs, size_t TotalMemory); /// CurPtr when the requested alignment is no greater than MinAlign. template + size_t MinAlign = std::min(8, alignof(std::max_align_t))> class BumpPtrAllocatorImpl : public AllocatorBase>,