[PATCH] D88260: [NFC][FE] Replace TypeSize with StorageUnitSize
Xiangling Liao via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 24 13:51:58 PDT 2020
Xiangling_L created this revision.
Xiangling_L added reviewers: jasonliu, hubert.reinterpretcast, efriedma.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Xiangling_L requested review of this revision.
On some targets like AIX, last bitfield size is not always equal to last bitfield type size. Some bitfield like bool will have the same alignment as [unsigned]. So we'd like to use a more general term `StorageUnit` to replace `type` in this field.
This patch serves as a parent patch for us to add AIX bitfield related alignment rules in : https://reviews.llvm.org/D87029.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88260
Files:
clang/lib/AST/RecordLayoutBuilder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88260.294153.patch
Type: text/x-patch
Size: 7656 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200924/5a71e264/attachment.bin>
More information about the cfe-commits
mailing list