[llvm] r336159 - Some buildbots were choking on std::max_align_t, try using the global alias.
Erik Pilkington via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 2 17:48:27 PDT 2018
Author: epilk
Date: Mon Jul 2 17:48:27 2018
New Revision: 336159
URL: http://llvm.org/viewvc/llvm-project?rev=336159&view=rev
Log:
Some buildbots were choking on std::max_align_t, try using the global alias.
Modified:
llvm/trunk/lib/Demangle/ItaniumDemangle.cpp
Modified: llvm/trunk/lib/Demangle/ItaniumDemangle.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Demangle/ItaniumDemangle.cpp?rev=336159&r1=336158&r2=336159&view=diff
==============================================================================
--- llvm/trunk/lib/Demangle/ItaniumDemangle.cpp (original)
+++ llvm/trunk/lib/Demangle/ItaniumDemangle.cpp Mon Jul 2 17:48:27 2018
@@ -1951,7 +1951,7 @@ class BumpPointerAllocator {
static constexpr size_t AllocSize = 4096;
static constexpr size_t UsableAllocSize = AllocSize - sizeof(BlockMeta);
- alignas(std::max_align_t) char InitialBuffer[AllocSize];
+ alignas(max_align_t) char InitialBuffer[AllocSize];
BlockMeta* BlockList = nullptr;
void grow() {
More information about the llvm-commits
mailing list