1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

ADT: Remove redundant alignas from IntervalMap, NFC

`AlignedArrayCharUnion` is now using `alignas`, which is properly
supported now by all the host toolchains we support. As a result, the
extra `alignas` on `IntervalMap` isn't needed anymore.

This is effectively a revert of 379daa29744cd96b0a87ed0d4a010fa4bc47ce73.

Differential Revision: https://reviews.llvm.org/D92509
This commit is contained in:
Duncan P. N. Exon Smith 2020-12-02 13:48:40 -08:00
parent 7c87aeebfe
commit 402de92d98

View File

@ -963,8 +963,7 @@ public:
private:
// The root data is either a RootLeaf or a RootBranchData instance.
alignas(RootLeaf) alignas(RootBranchData)
AlignedCharArrayUnion<RootLeaf, RootBranchData> data;
AlignedCharArrayUnion<RootLeaf, RootBranchData> data;
// Tree height.
// 0: Leaves in root.