That platform has alignof(uint64_t) == 4, but, since LLVM_ALIGNAS(...)
cannot take anything but literal integers due to MSVC limitations, the
literal '8' used there didn't match. Switch ScopeStackAlignment to
just use 8, as well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242578
91177308-0d34-0410-b5e6-
96231b3b80d8
/// and catch blocks.
class EHScopeStack {
public:
- enum { ScopeStackAlignment = llvm::AlignOf<uint64_t>::Alignment };
+ /* Should switch to alignof(uint64_t) instead of 8, when EHCleanupScope can */
+ enum { ScopeStackAlignment = 8 };
/// A saved depth on the scope stack. This is necessary because
/// pushing scopes onto the stack invalidates iterators.