[PATCH] D52613: [ADT] Change the `IntervalMap` alignment assert for x86 MSVC

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 1 13:44:13 PDT 2018


rnk added a comment.

I think it would be easier to just slap LLVM_ALIGNAS(RootLeaf) on the member here to work around the bug / limitation of AlignedCharArrayUnion:

  private:
    // The root data is either a RootLeaf or a RootBranchData instance.
    AlignedCharArrayUnion<RootLeaf, RootBranchData> data;


https://reviews.llvm.org/D52613





More information about the llvm-commits mailing list