[PATCH] D52613: [ADT] Change the `IntervalMap` alignment assert for x86 MSVC
Aleksandr Urakov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 9 00:35:06 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL344018: [ADT] Change the `IntervalMap` alignment assert for x86 MSVC (authored by aleksandr.urakov, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D52613?vs=168620&id=168751#toc
Repository:
rL LLVM
https://reviews.llvm.org/D52613
Files:
llvm/trunk/include/llvm/ADT/IntervalMap.h
Index: llvm/trunk/include/llvm/ADT/IntervalMap.h
===================================================================
--- llvm/trunk/include/llvm/ADT/IntervalMap.h
+++ llvm/trunk/include/llvm/ADT/IntervalMap.h
@@ -964,7 +964,7 @@
private:
// The root data is either a RootLeaf or a RootBranchData instance.
- AlignedCharArrayUnion<RootLeaf, RootBranchData> data;
+ LLVM_ALIGNAS(RootLeaf) AlignedCharArrayUnion<RootLeaf, RootBranchData> data;
// Tree height.
// 0: Leaves in root.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52613.168751.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181009/1a864915/attachment.bin>
More information about the llvm-commits
mailing list